Uses of Interface
org.apache.http.Header
-
Packages that use Header Package Description org.apache.http Core HTTP component APIs and primitives.org.apache.http.entity Core HTTP entity implementations.org.apache.http.impl.io Default implementations of message parses and writers for synchronous, blocking communication.org.apache.http.impl.nio.codecs Default implementations of message parses and writers for asynchronous, even driven communication.org.apache.http.message Core HTTP message components, message element parser and writer APIs and their default implementations.org.apache.http.nio.entity Core HTTP entity implementations with support for asynchronous, event driven communication. -
-
Uses of Header in org.apache.http
Subinterfaces of Header in org.apache.http Modifier and Type Interface Description interfaceFormattedHeaderAn HTTP header which is already formatted.Methods in org.apache.http that return Header Modifier and Type Method Description Header[]HttpMessage. getAllHeaders()Returns all the headers of this message.HeaderHttpEntity. getContentEncoding()Obtains the Content-Encoding header, if known.HeaderHttpEntity. getContentType()Obtains the Content-Type header, if known.HeaderHttpMessage. getFirstHeader(java.lang.String name)Returns the first header with a specified name of this message.Header[]HttpMessage. getHeaders(java.lang.String name)Returns all the headers with a specified name of this message.HeaderHttpMessage. getLastHeader(java.lang.String name)Returns the last header with a specified name of this message.HeaderHeaderIterator. nextHeader()Obtains the next header from this iteration.Methods in org.apache.http with parameters of type Header Modifier and Type Method Description voidHttpMessage. addHeader(Header header)Adds a header to this message.voidHttpMessage. removeHeader(Header header)Removes a header from this message.voidHttpMessage. setHeader(Header header)Overwrites the first header with the same name.voidHttpMessage. setHeaders(Header[] headers)Overwrites all the headers in the message. -
Uses of Header in org.apache.http.entity
Fields in org.apache.http.entity declared as Header Modifier and Type Field Description protected HeaderAbstractHttpEntity. contentEncodingprotected HeaderAbstractHttpEntity. contentTypeMethods in org.apache.http.entity that return Header Modifier and Type Method Description HeaderAbstractHttpEntity. getContentEncoding()Obtains the Content-Encoding header.HeaderHttpEntityWrapper. getContentEncoding()HeaderAbstractHttpEntity. getContentType()Obtains the Content-Type header.HeaderHttpEntityWrapper. getContentType()Methods in org.apache.http.entity with parameters of type Header Modifier and Type Method Description voidAbstractHttpEntity. setContentEncoding(Header contentEncoding)Specifies the Content-Encoding header.voidAbstractHttpEntity. setContentType(Header contentType)Specifies the Content-Type header. -
Uses of Header in org.apache.http.impl.io
Fields in org.apache.http.impl.io declared as Header Modifier and Type Field Description private Header[]ChunkedInputStream. footersMethods in org.apache.http.impl.io that return Header Modifier and Type Method Description Header[]ChunkedInputStream. getFooters()static Header[]AbstractMessageParser. parseHeaders(SessionInputBuffer inBuffer, int maxHeaderCount, int maxLineLen, LineParser parser)Parses HTTP headers from the data receiver stream according to the generic format as given in Section 3.1 of RFC 822, RFC-2616 Section 4 and 19.3.static Header[]AbstractMessageParser. parseHeaders(SessionInputBuffer inBuffer, int maxHeaderCount, int maxLineLen, LineParser parser, java.util.List<CharArrayBuffer> headerLines)Parses HTTP headers from the data receiver stream according to the generic format as given in Section 3.1 of RFC 822, RFC-2616 Section 4 and 19.3. -
Uses of Header in org.apache.http.impl.nio.codecs
Fields in org.apache.http.impl.nio.codecs declared as Header Modifier and Type Field Description private Header[]ChunkDecoder. footersMethods in org.apache.http.impl.nio.codecs that return Header Modifier and Type Method Description Header[]ChunkDecoder. getFooters() -
Uses of Header in org.apache.http.message
Classes in org.apache.http.message that implement Header Modifier and Type Class Description classBasicHeaderImplements a basicHeader.classBufferedHeaderThis class represents a raw HTTP header whose content is parsed 'on demand' only when the header value needs to be consumed.Fields in org.apache.http.message declared as Header Modifier and Type Field Description protected Header[]BasicHeaderIterator. allHeadersAn array of headers to iterate over.private static Header[]HeaderGroup. EMPTYFields in org.apache.http.message with type parameters of type Header Modifier and Type Field Description protected java.util.List<Header>BasicListHeaderIterator. allHeadersA list of headers to iterate over.private java.util.List<Header>HeaderGroup. headersThe list of headers for this group, in the order in which they were addedMethods in org.apache.http.message that return Header Modifier and Type Method Description Header[]AbstractHttpMessage. getAllHeaders()Header[]HeaderGroup. getAllHeaders()Gets all of the headers contained within this group.HeaderHeaderGroup. getCondensedHeader(java.lang.String name)Gets a header representing all of the header values with the given name.HeaderAbstractHttpMessage. getFirstHeader(java.lang.String name)HeaderHeaderGroup. getFirstHeader(java.lang.String name)Gets the first header with the given name.Header[]AbstractHttpMessage. getHeaders(java.lang.String name)Header[]HeaderGroup. getHeaders(java.lang.String name)Gets all of the headers with the given name.HeaderAbstractHttpMessage. getLastHeader(java.lang.String name)HeaderHeaderGroup. getLastHeader(java.lang.String name)Gets the last header with the given name.HeaderBasicHeaderIterator. nextHeader()Obtains the next header from this iteration.HeaderBasicListHeaderIterator. nextHeader()Obtains the next header from this iteration.static HeaderBasicLineParser. parseHeader(java.lang.String value, LineParser parser)HeaderBasicLineParser. parseHeader(CharArrayBuffer buffer)HeaderLineParser. parseHeader(CharArrayBuffer buffer)Creates a header from a line.Methods in org.apache.http.message with parameters of type Header Modifier and Type Method Description voidAbstractHttpMessage. addHeader(Header header)voidHeaderGroup. addHeader(Header header)Adds the given header to the group.protected voidBasicLineFormatter. doFormatHeader(CharArrayBuffer buffer, Header header)Actually formats a header.static java.lang.StringBasicLineFormatter. formatHeader(Header header, LineFormatter formatter)Formats a header.CharArrayBufferBasicLineFormatter. formatHeader(CharArrayBuffer buffer, Header header)CharArrayBufferLineFormatter. formatHeader(CharArrayBuffer buffer, Header header)Formats a header.voidAbstractHttpMessage. removeHeader(Header header)voidHeaderGroup. removeHeader(Header header)Removes the given header.voidAbstractHttpMessage. setHeader(Header header)voidAbstractHttpMessage. setHeaders(Header[] headers)voidHeaderGroup. setHeaders(Header[] headers)Sets all of the headers contained within this group overriding any existing headers.voidHeaderGroup. updateHeader(Header header)Replaces the first occurence of the header with the same name.Constructors in org.apache.http.message with parameters of type Header Constructor Description BasicHeaderIterator(Header[] headers, java.lang.String name)Creates a new header iterator.Constructor parameters in org.apache.http.message with type arguments of type Header Constructor Description BasicListHeaderIterator(java.util.List<Header> headers, java.lang.String name)Creates a new header iterator. -
Uses of Header in org.apache.http.nio.entity
Methods in org.apache.http.nio.entity that return Header Modifier and Type Method Description HeaderContentBufferEntity. getContentEncoding()HeaderContentBufferEntity. getContentType()
-