/** * {@inheritDoc} */ @Override public String[] getStringValues(InvocationSequenceData invocSequence, ICachedDataService cachedDataService) { if (!InvocationSequenceDataHelper.hasHttpTimerData(invocSequence)) { return new String[0]; } HttpTimerData httpData = (HttpTimerData) invocSequence.getTimerData(); return new String[] { httpData.getHttpInfo().getServerName() }; } }
table.addContentRow("Server Name:", null, new DetailsCellContent[] { new DetailsCellContent(StringUtils.defaultString(httpTimerData.getHttpInfo().getServerName(), NOT_AVAILABLE)) }); table.addContentRow("Port:", null, new DetailsCellContent[] { new DetailsCellContent(portDescription) }); table.addContentRow("URI:", null, new DetailsCellContent[] { new DetailsCellContent(StringUtils.defaultString(httpTimerData.getHttpInfo().getUri())) });