Interface HttpHeadersContainter

All Known Subinterfaces:
Request

public interface HttpHeadersContainter
Author:
Saffi Hartal
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    getHeader(String headerName)
    Deprecated.
    replaced by org.artifactory.request.HasHttpHeaders#getHeaderValues(java.lang.String) Backward compatible map getheader (return first) Unless we use HeadersMultimap which use natural reversed order which is the last - for having map like order last overrides current)
    default Map<String,String>
    Deprecated.
    replaced by using that object and later iterate org.artifactory.request .HasHttpHeaders#getHeadersKeys() and for each use org.artifactory.request.HasHttpHeaders#getHeaderValues(java .lang.String) used only for testing - HeadersMultimap class - in transition from single key to multi key headers.
    getHeaders(String headerName)
    Deprecated.
    replaced by org.artifactory.request.HasHttpHeaders#getHeaderValues(java.lang.String) The method may be broken in internal request.
     
    getHeaderValues(String headerName)
     
  • Method Details

    • getHeadersKeys

      Enumeration<String> getHeadersKeys()
    • getHeaderValues

      Enumeration<String> getHeaderValues(@Nonnull String headerName)
    • getHeader

      @Deprecated default String getHeader(String headerName)
      Deprecated.
      replaced by org.artifactory.request.HasHttpHeaders#getHeaderValues(java.lang.String) Backward compatible map getheader (return first) Unless we use HeadersMultimap which use natural reversed order which is the last - for having map like order last overrides current)
    • getHeaders

      @Deprecated default Enumeration<String> getHeaders(String headerName)
      Deprecated.
      replaced by org.artifactory.request.HasHttpHeaders#getHeaderValues(java.lang.String) The method may be broken in internal request. Old implementation ignored the parameter RTFACT-17547
    • getHeaders

      @Deprecated default Map<String,String> getHeaders()
      Deprecated.
      replaced by using that object and later iterate org.artifactory.request .HasHttpHeaders#getHeadersKeys() and for each use org.artifactory.request.HasHttpHeaders#getHeaderValues(java .lang.String) used only for testing - HeadersMultimap class - in transition from single key to multi key headers.