Uses of Interface
org.apache.hc.core5.http.MessageHeaders
Packages that use MessageHeaders
Package
Description
Core HTTP transport component APIs.
HTTP Digest Fields as defined by RFC 9530.
Default implementations of core HTTP APIs.
Core HTTP transport APIs based on 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.
Immutable data model, strict parser, canonical serializer, and message-header
integration for Structured Field Structured Field Values for HTTP.
-
Uses of MessageHeaders in org.apache.hc.core5.http
Classes in org.apache.hc.core5.http with type parameters of type MessageHeadersModifier and TypeClassDescriptionfinal classMessage<H extends MessageHeaders, B>Generic message consisting of a message head and a message body.Subinterfaces of MessageHeaders in org.apache.hc.core5.httpModifier and TypeInterfaceDescriptioninterface'Classic'HttpRequestmessage that can encloseHttpEntity.interface'Classic'HttpResponsemessage that can encloseHttpEntity.interfaceHTTP messages consist of requests from client to server and responses from server to client.interfaceA request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use.interfaceAfter receiving and interpreting a request message, a server responds with an HTTP response message.Fields in org.apache.hc.core5.http declared as MessageHeadersMethods in org.apache.hc.core5.http with type parameters of type MessageHeadersModifier and TypeMethodDescriptionstatic <H extends MessageHeaders, B>
Message<H, B> Create a new message with the given head and error.static <H extends MessageHeaders, B>
Message<H, B> Message.of(H head, B body) Create a new message with the given head and body, and no error. -
Uses of MessageHeaders in org.apache.hc.core5.http.digest
Methods in org.apache.hc.core5.http.digest with parameters of type MessageHeadersModifier and TypeMethodDescriptionstatic StructuredFieldDictionaryDigestFields.parseDigest(MessageHeaders headers, String name) Parses and validates all field lines with the given name as oneContent-DigestorRepr-Digestdictionary.static StructuredFieldDictionaryDigestFields.parsePreferences(MessageHeaders headers, String name) Parses and validates all field lines with the given name as oneWant-Content-DigestorWant-Repr-Digestdictionary. -
Uses of MessageHeaders in org.apache.hc.core5.http.impl
Fields in org.apache.hc.core5.http.impl declared as MessageHeadersConstructors in org.apache.hc.core5.http.impl with parameters of type MessageHeadersModifierConstructorDescriptionIncomingEntityDetails(MessageHeaders message) IncomingEntityDetails(MessageHeaders message, long contentLength) -
Uses of MessageHeaders in org.apache.hc.core5.http.io
Classes in org.apache.hc.core5.http.io with type parameters of type MessageHeadersModifier and TypeInterfaceDescriptioninterfaceHttpMessageParser<T extends MessageHeaders>Message parser intended to build HTTP message head from an input stream.interfaceHttpMessageParserFactory<T extends MessageHeaders>Factory forHttpMessageParserinstances.interfaceHttpMessageWriter<T extends MessageHeaders>Message writer intended to serialize HTTP message head to an output stream.interfaceHttpMessageWriterFactory<T extends MessageHeaders>Factory forHttpMessageWriterinstances. -
Uses of MessageHeaders in org.apache.hc.core5.http.message
Classes in org.apache.hc.core5.http.message that implement MessageHeadersModifier and TypeClassDescriptionclassAbstractMessageWrapper<T extends HttpMessage>AbstractHttpMessagewrapper.classBasic implementation ofClassicHttpRequest.classBasic implementation ofClassicHttpResponse.classBasic implementation ofHttpRequest.classBasic implementation ofHttpResponse.classA class for combining a set of headers.classWraps anHttpRequest.classWraps anHttpResponse.Methods in org.apache.hc.core5.http.message with parameters of type MessageHeadersModifier and TypeMethodDescriptionMessageSupport.hopByHopConnectionSpecific(MessageHeaders headers) static Iterator<HeaderElement> MessageSupport.iterate(MessageHeaders headers, String name) MessageSupport.iterateTokens(MessageHeaders headers, String name) static voidMessageSupport.parseElementList(MessageHeaders headers, String name, BiConsumer<CharSequence, ParserCursor> consumer) static voidMessageSupport.parseElementListStrict(MessageHeaders headers, String name, ElementConsumer consumer) static voidMessageSupport.parseElements(MessageHeaders headers, String headerName, Consumer<HeaderElement> consumer) static voidMessageSupport.parseHeaders(MessageHeaders headers, String name, BiConsumer<CharSequence, ParserCursor> consumer) static voidMessageSupport.parseHeadersStrict(MessageHeaders headers, String name, ElementConsumer consumer) static voidMessageSupport.parseTokens(MessageHeaders headers, String headerName, Consumer<String> consumer) static voidMessageSupport.parseTokens(MessageHeaders headers, String headerName, Tokenizer.Delimiter delimiterPredicate, Consumer<String> consumer) -
Uses of MessageHeaders in org.apache.hc.core5.http.nio
Classes in org.apache.hc.core5.http.nio with type parameters of type MessageHeadersModifier and TypeInterfaceDescriptioninterfaceNHttpMessageParser<T extends MessageHeaders>Message parser intended to build HTTP message head from a session input buffer..interfaceNHttpMessageParserFactory<T extends MessageHeaders>Factory forNHttpMessageParserinstances.interfaceNHttpMessageWriter<T extends MessageHeaders>Message writer intended to serialize HTTP message head to a session buffer.interfaceNHttpMessageWriterFactory<T extends MessageHeaders>Factory forNHttpMessageWriterinstances. -
Uses of MessageHeaders in org.apache.hc.core5.http.structured
Methods in org.apache.hc.core5.http.structured with parameters of type MessageHeadersModifier and TypeMethodDescriptionstatic StructuredFieldDictionaryStructuredFieldHeaders.parseDictionary(MessageHeaders headers, String name) Parses the matching field lines as a Structured Field Dictionary, reading each field line in place and merging its members, without combining the values into a new buffer.static StructuredFieldItemStructuredFieldHeaders.parseItem(MessageHeaders headers, String name) Parses the field namednameas a single Structured Field Item.static StructuredFieldListStructuredFieldHeaders.parseList(MessageHeaders headers, String name) Parses the matching field lines as a Structured Field List, reading each field line in place and appending its members, without combining the values into a new buffer.