136137138139140141142143144145
/** {@inheritDoc} */ public Map<String, String> getHeader() { if ((header == null) && (request != null)) { header = new ReadOnlyEnumerationMap<String>(new HeaderExtractor(request, null)); } return (header); }
146147148149150151152153154155
/** {@inheritDoc} */ public Addable<String> getResponseHeaders() { if ((responseHeaders == null) && (response != null)) { responseHeaders = new HeaderExtractor(null, response); } return (responseHeaders); }
156157158159160161162163164165
/** {@inheritDoc} */ public Map<String, String[]> getHeaderValues() { if ((headerValues == null) && (request != null)) { headerValues = new HeaderValuesMap(new HeaderExtractor(request, response)); } return (headerValues); }