protected final void showRequestInfo () { if (!m_bAlreadyEmittedRequestHeaders) { if (LOGGER.isWarnEnabled ()) LOGGER.warn (" Request Headers: " + m_aRequestHeaderMap.getAllHeaders ().getSortedByKey (Comparator.naturalOrder ())); if (m_aResponseHeaderMap.isNotEmpty ()) if (LOGGER.isWarnEnabled ()) LOGGER.warn (" Response Headers: " + m_aResponseHeaderMap.getAllHeaders ().getSortedByKey (Comparator.naturalOrder ())); m_bAlreadyEmittedRequestHeaders = true; } }
@Nonnull public final IMicroElement convertToMicroElement (@Nonnull final T aSource, @Nullable final String sNamespaceURI, @Nonnull @Nonempty final String sTagName) { final IMicroElement eMText = new MicroElement (sNamespaceURI, sTagName); for (final Map.Entry <Locale, String> aEntry : aSource.texts () .getSortedByKey (Comparator.comparing (Locale::toString)) .entrySet ()) { final IMicroElement eText = eMText.appendElement (sNamespaceURI, ELEMENT_TEXT); eText.setAttribute (ATTR_LOCALE, aEntry.getKey ().toString ()); eText.appendText (aEntry.getValue ()); } return eMText; }
for (final Map.Entry <String, ICommonsList <String>> aEntry : aRequestScope.headers () .getAllHeaders () .getSortedByKey (IComparator.getComparatorCollating (aDisplayLocale)) .entrySet ()) EText.MSG_DETAILS.getDisplayText (aDisplayLocale)); for (final Map.Entry <String, Cookie> aEntry : CookieHelper.getAllCookies (aHttpRequest) .getSortedByKey (IComparator.getComparatorCollating (aDisplayLocale)) .entrySet ())
for (final Map.Entry <String, ICommonsList <String>> aEntry : aRequestScope.headers () .getAllHeaders () .getSortedByKey (IComparator.getComparatorCollating (aDisplayLocale)) .entrySet ()) EText.MSG_DETAILS.getDisplayText (aDisplayLocale)); for (final Map.Entry <String, Cookie> aEntry : CookieHelper.getAllCookies (aHttpRequest) .getSortedByKey (IComparator.getComparatorCollating (aDisplayLocale)) .entrySet ())