Uses of Interface
org.apache.hc.core5.http.Header
Packages that use Header
Package
Description
Core HTTP transport component APIs.
Default implementation of HTTP/1.1 transport based on the classic
(blocking) I/O model.
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
HTTP message entity APIs based on the classic (blocking) I/O model.
Support classes for the classic (blocking) I/O model.
Core HTTP message components, message element parser
and writer APIs and their default implementations.
Core HTTP transport APIs based on the asynchronous, event driven I/O model.
HTTP message entity APIs based on the asynchronous (non-blocking) I/O model.
Support classes for the asynchronous I/O model.
Support classes for the asynchronous I/O model that emulate
behavior of the classic (blocking) I/O model.
Core HTTP/2 transport component APIs.
HTTP/2 HPACK APIs.
Default implementations of core HTTP/2 APIs.
Default implementation of HTTP/2 transport based on
the asynchronous (non-blocking) I/O model.
-
Uses of Header in org.apache.hc.core5.http
Subinterfaces of Header in org.apache.hc.core5.httpModifier and TypeInterfaceDescriptioninterfaceAn HTTP header which is already formatted.Methods in org.apache.hc.core5.http that return HeaderModifier and TypeMethodDescriptionMessageHeaders.getFirstHeader(String name) Returns the first header with a specified name of this message.Gets single first header with the given name.Header[]MessageHeaders.getHeaders()Returns all the headers of this message.Header[]MessageHeaders.getHeaders(String name) Returns all the headers with a specified name of this message.MessageHeaders.getLastHeader(String name) Returns the last header with a specified name of this message.Methods in org.apache.hc.core5.http that return types with arguments of type HeaderModifier and TypeMethodDescriptionHttpEntity.getTrailers()Returns supplier of message trailers - headers sent after message body.MessageHeaders.headerIterator()Returns an iterator of all the headers.MessageHeaders.headerIterator(String name) Returns an iterator of the headers with a given name.Methods in org.apache.hc.core5.http with parameters of type HeaderModifier and TypeMethodDescriptionvoidAdds a header to this message.booleanHttpMessage.removeHeader(Header header) Removes a header from this message.voidOverwrites the first header with the same name.voidHttpMessage.setHeaders(Header... headers) Overwrites all the headers in the message. -
Uses of Header in org.apache.hc.core5.http.impl.io
Methods in org.apache.hc.core5.http.impl.io that return HeaderModifier and TypeMethodDescriptionHeader[]ChunkedInputStream.getFooters()static Header[]AbstractMessageParser.parseHeaders(SessionInputBuffer inBuffer, InputStream inputStream, int maxHeaderCount, int maxLineLen, LineParser lineParser) Parses HTTP headers from the data receiver stream according to the generic format as specified by the HTTP/1.1 protocol specification.static Header[]AbstractMessageParser.parseHeaders(SessionInputBuffer inBuffer, InputStream inputStream, int maxHeaderCount, int maxLineLen, LineParser parser, List<CharArrayBuffer> headerLines) Parses HTTP headers from the data receiver stream according to the generic format as specified by the HTTP/1.1 protocol specification.Constructor parameters in org.apache.hc.core5.http.impl.io with type arguments of type HeaderModifierConstructorDescriptionChunkedOutputStream(SessionOutputBuffer buffer, OutputStream outputStream, byte[] chunkCache, Supplier<List<? extends Header>> trailerSupplier) Default constructor.ChunkedOutputStream(SessionOutputBuffer buffer, OutputStream outputStream, int chunkSizeHint, Supplier<List<? extends Header>> trailerSupplier) Constructor taking an integer chunk size hint. -
Uses of Header in org.apache.hc.core5.http.impl.nio
Methods in org.apache.hc.core5.http.impl.nio that return types with arguments of type HeaderModifier and TypeMethodDescriptionAbstractContentDecoder.getTrailers()ChunkDecoder.getTrailers()Method parameters in org.apache.hc.core5.http.impl.nio with type arguments of type Header -
Uses of Header in org.apache.hc.core5.http.io.entity
Methods in org.apache.hc.core5.http.io.entity that return types with arguments of type HeaderModifier and TypeMethodDescriptionAbstractHttpEntity.getTrailers()HttpEntityWrapper.getTrailers()NullEntity.getTrailers()Methods in org.apache.hc.core5.http.io.entity with parameters of type HeaderModifier and TypeMethodDescriptionstatic HttpEntityHttpEntities.create(byte[] content, ContentType contentType, Header... trailers) static HttpEntityHttpEntities.create(File content, ContentType contentType, Header... trailers) static HttpEntityHttpEntities.create(Serializable serializable, ContentType contentType, Header... trailers) static HttpEntitystatic HttpEntityHttpEntities.create(String content, ContentType contentType, Header... trailers) static HttpEntitystatic HttpEntityHttpEntities.create(Path content, ContentType contentType, Header... trailers) static HttpEntityHttpEntities.create(IOCallback<OutputStream> callback, ContentType contentType, Header... trailers) static HttpEntityHttpEntities.withTrailers(HttpEntity entity, Header... trailers) -
Uses of Header in org.apache.hc.core5.http.io.support
Methods in org.apache.hc.core5.http.io.support with parameters of type HeaderModifier and TypeMethodDescriptionClassicRequestBuilder.removeHeader(Header header) ClassicResponseBuilder.removeHeader(Header header) ClassicRequestBuilder.setHeaders(Header... headers) ClassicResponseBuilder.setHeaders(Header... headers) -
Uses of Header in org.apache.hc.core5.http.message
Classes in org.apache.hc.core5.http.message that implement HeaderModifier and TypeClassDescriptionclassImmutableHeader.classThis class represents a raw HTTP header whose content is parsed 'on demand' only when the header value needs to be consumed.Methods in org.apache.hc.core5.http.message that return HeaderModifier and TypeMethodDescriptionstatic Headerstatic HeaderHeaderGroup.getCondensedHeader(String name) Gets a header representing all of the header values with the given name.AbstractMessageWrapper.getFirstHeader(String name) HeaderGroup.getFirstHeader(String name) Gets the first header with the given name.Gets single first header with the given name.Header[]AbstractMessageWrapper.getHeaders()Header[]AbstractMessageWrapper.getHeaders(String name) Header[]HeaderGroup.getHeaders()Gets all of the headers contained within this group.Header[]HeaderGroup.getHeaders(String name) Gets all of the headers with the given name.AbstractMessageWrapper.getLastHeader(String name) HeaderGroup.getLastHeader(String name) Gets the last header with the given name.BasicHeaderIterator.next()Obtains the next header from this iteration.BasicLineParser.parseHeader(CharArrayBuffer buffer) LazyLaxLineParser.parseHeader(CharArrayBuffer buffer) LazyLineParser.parseHeader(CharArrayBuffer buffer) LineParser.parseHeader(CharArrayBuffer buffer) Parses a header from the given buffer containing one line of text.Methods in org.apache.hc.core5.http.message that return types with arguments of type HeaderModifier and TypeMethodDescriptionAbstractMessageWrapper.headerIterator()AbstractMessageWrapper.headerIterator(String name) HeaderGroup.headerIterator()Returns an iterator over this group of headers.HeaderGroup.headerIterator(String name) Returns an iterator over the headers with a given name in this group.Methods in org.apache.hc.core5.http.message with parameters of type HeaderModifier and TypeMethodDescriptionvoidvoidAdds the given header to the group.voidBasicLineFormatter.formatHeader(CharArrayBuffer buffer, Header header) voidLineFormatter.formatHeader(CharArrayBuffer buffer, Header header) Formats a header.static HeaderElement[]MessageSupport.parseTokens(Header header) booleanAbstractMessageWrapper.removeHeader(Header header) booleanHeaderGroup.removeHeader(Header header) Removes the first given header.booleanHeaderGroup.removeHeaders(Header header) Removes all headers that match the given header.voidvoidReplaces the first occurrence of the header with the same name.voidAbstractMessageWrapper.setHeaders(Header... headers) voidHeaderGroup.setHeaders(Header... headers) Sets all of the headers contained within this group overriding any existing headers.Constructors in org.apache.hc.core5.http.message with parameters of type HeaderModifierConstructorDescriptionBasicHeaderIterator(Header[] headers, String name) Creates a new header iterator.Constructor parameters in org.apache.hc.core5.http.message with type arguments of type HeaderModifierConstructorDescriptionBasicHeaderElementIterator(Iterator<Header> headerIterator) BasicHeaderElementIterator(Iterator<Header> headerIterator, HeaderValueParser parser) Creates a new instance of BasicHeaderElementIteratorBasicTokenIterator(Iterator<Header> headerIterator) Creates a new instance ofBasicTokenIterator. -
Uses of Header in org.apache.hc.core5.http.nio
Methods in org.apache.hc.core5.http.nio that return types with arguments of type HeaderModifier and TypeMethodDescriptionContentDecoder.getTrailers()Returns content trailers if availableMethod parameters in org.apache.hc.core5.http.nio with type arguments of type HeaderModifier and TypeMethodDescriptionvoidTerminates the content stream.voidTerminates the underlying data stream and optionally writes a closing sequence with the given trailers.voidTriggered to signal termination of the data stream. -
Uses of Header in org.apache.hc.core5.http.nio.entity
Methods in org.apache.hc.core5.http.nio.entity that return types with arguments of type HeaderModifier and TypeMethodDescriptionDigestingEntityConsumer.getTrailers()List of trailers sent with the data stream.Methods in org.apache.hc.core5.http.nio.entity with parameters of type HeaderModifier and TypeMethodDescriptionstatic AsyncEntityProducerAsyncEntityProducers.create(byte[] content, ContentType contentType, Header... trailers) static AsyncEntityProducerAsyncEntityProducers.create(File content, ContentType contentType, Header... trailers) static AsyncEntityProducerstatic AsyncEntityProducerAsyncEntityProducers.create(String content, ContentType contentType, Header... trailers) static AsyncEntityProducerstatic AsyncEntityProducerAsyncEntityProducers.create(Path content, ContentType contentType, Header... trailers) static AsyncEntityProducerAsyncEntityProducers.createBinary(Callback<StreamChannel<ByteBuffer>> callback, ContentType contentType, Header... trailers) static AsyncEntityProducerAsyncEntityProducers.createText(Callback<StreamChannel<CharBuffer>> callback, ContentType contentType, Header... trailers) static AsyncEntityProducerAsyncEntityProducers.withTrailers(AsyncEntityProducer entity, Header... trailers) Method parameters in org.apache.hc.core5.http.nio.entity with type arguments of type HeaderModifier and TypeMethodDescriptionfinal voidfinal voidvoidvoidvoidDeprecated. -
Uses of Header in org.apache.hc.core5.http.nio.support
Methods in org.apache.hc.core5.http.nio.support with parameters of type HeaderModifier and TypeMethodDescriptionAsyncPushBuilder.removeHeader(Header header) AsyncRequestBuilder.removeHeader(Header header) AsyncResponseBuilder.removeHeader(Header header) AsyncPushBuilder.setHeaders(Header... headers) AsyncRequestBuilder.setHeaders(Header... headers) AsyncResponseBuilder.setHeaders(Header... headers) Method parameters in org.apache.hc.core5.http.nio.support with type arguments of type HeaderModifier and TypeMethodDescriptionfinal voidfinal voidfinal voidfinal voidfinal voidvoidvoidvoidvoid -
Uses of Header in org.apache.hc.core5.http.nio.support.classic
Method parameters in org.apache.hc.core5.http.nio.support.classic with type arguments of type Header -
Uses of Header in org.apache.hc.core5.http.support
Methods in org.apache.hc.core5.http.support that return HeaderModifier and TypeMethodDescriptionAbstractMessageBuilder.getFirstHeader(String name) Header[]AbstractMessageBuilder.getFirstHeaders()Header[]AbstractMessageBuilder.getHeaders()Header[]AbstractMessageBuilder.getHeaders(String name) AbstractMessageBuilder.getLastHeader(String name) Methods in org.apache.hc.core5.http.support with parameters of type HeaderModifier and TypeMethodDescriptionAbstractMessageBuilder.removeHeader(Header header) AbstractRequestBuilder.removeHeader(Header header) AbstractResponseBuilder.removeHeader(Header header) BasicRequestBuilder.removeHeader(Header header) BasicResponseBuilder.removeHeader(Header header) AbstractMessageBuilder.setHeaders(Header... headers) AbstractRequestBuilder.setHeaders(Header... headers) AbstractResponseBuilder.setHeaders(Header... headers) BasicRequestBuilder.setHeaders(Header... headers) BasicResponseBuilder.setHeaders(Header... headers) Method parameters in org.apache.hc.core5.http.support with type arguments of type Header -
Uses of Header in org.apache.hc.core5.http2
Methods in org.apache.hc.core5.http2 that return types with arguments of type HeaderMethod parameters in org.apache.hc.core5.http2 with type arguments of type Header -
Uses of Header in org.apache.hc.core5.http2.hpack
Methods in org.apache.hc.core5.http2.hpack that return HeaderMethods in org.apache.hc.core5.http2.hpack that return types with arguments of type HeaderMethods in org.apache.hc.core5.http2.hpack with parameters of type HeaderModifier and TypeMethodDescriptionvoidHPackEncoder.encodeHeader(ByteArrayBuffer dst, Header header) Method parameters in org.apache.hc.core5.http2.hpack with type arguments of type HeaderModifier and TypeMethodDescriptionvoidHPackEncoder.encodeHeaders(ByteArrayBuffer dst, List<? extends Header> headers, boolean useHuffman) -
Uses of Header in org.apache.hc.core5.http2.impl
Methods in org.apache.hc.core5.http2.impl that return types with arguments of type HeaderModifier and TypeMethodDescriptionDefaultH2RequestConverter.convert(HttpRequest message) DefaultH2ResponseConverter.convert(HttpResponse message) Method parameters in org.apache.hc.core5.http2.impl with type arguments of type HeaderModifier and TypeMethodDescription -
Uses of Header in org.apache.hc.core5.http2.impl.nio
Method parameters in org.apache.hc.core5.http2.impl.nio with type arguments of type HeaderModifier and TypeMethodDescriptionvoidH2StreamListener.onHeaderInput(HttpConnection connection, int streamId, List<? extends Header> headers) voidH2StreamListener.onHeaderOutput(HttpConnection connection, int streamId, List<? extends Header> headers) -
Uses of Header in org.apache.hc.core5.reactive
Methods in org.apache.hc.core5.reactive that return types with arguments of type HeaderModifier and TypeMethodDescriptionReactiveResponseConsumer.getTrailers()Returns the trailers received at the end of the response.Method parameters in org.apache.hc.core5.reactive with type arguments of type Header -
Uses of Header in org.apache.hc.core5.testing.nio
Method parameters in org.apache.hc.core5.testing.nio with type arguments of type HeaderModifier and TypeMethodDescriptionvoidLoggingH2StreamListener.onHeaderInput(HttpConnection connection, int streamId, List<? extends Header> headers) voidLoggingH2StreamListener.onHeaderOutput(HttpConnection connection, int streamId, List<? extends Header> headers)