Uses of Interface
org.apache.hc.core5.http.MessageHeaders
-
Packages that use MessageHeaders Package Description org.apache.hc.core5.http Core HTTP transport component APIs.org.apache.hc.core5.http.digest HTTP Digest Fields as defined by RFC 9530.org.apache.hc.core5.http.impl Default implementations of core HTTP APIs.org.apache.hc.core5.http.io Core HTTP transport APIs based on the classic (blocking) I/O model.org.apache.hc.core5.http.message Core HTTP message components, message element parser and writer APIs and their default implementations.org.apache.hc.core5.http.nio Core HTTP transport APIs based on the asynchronous, event driven I/O model.org.apache.hc.core5.http.structured 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 MessageHeaders Modifier and Type Class Description classMessage<H extends MessageHeaders,B>Generic message consisting of a message head and a message body.Subinterfaces of MessageHeaders in org.apache.hc.core5.http Modifier and Type Interface Description interfaceClassicHttpRequest'Classic'HttpRequestmessage that can encloseHttpEntity.interfaceClassicHttpResponse'Classic'HttpResponsemessage that can encloseHttpEntity.interfaceHttpMessageHTTP messages consist of requests from client to server and responses from server to client.interfaceHttpRequestA 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.interfaceHttpResponseAfter receiving and interpreting a request message, a server responds with an HTTP response message.Methods in org.apache.hc.core5.http with type parameters of type MessageHeaders Modifier and Type Method Description static <H extends MessageHeaders,B>
Message<H,B>Message. error(H head, java.lang.Object error)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 MessageHeaders Modifier and Type Method Description static StructuredFieldDictionaryDigestFields. parseDigest(MessageHeaders headers, java.lang.String name)Parses and validates all field lines with the given name as oneContent-DigestorRepr-Digestdictionary.static StructuredFieldDictionaryDigestFields. parsePreferences(MessageHeaders headers, java.lang.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
Constructors in org.apache.hc.core5.http.impl with parameters of type MessageHeaders Constructor Description IncomingEntityDetails(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 MessageHeaders Modifier and Type Interface Description interfaceHttpMessageParser<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 MessageHeaders Modifier and Type Class Description classAbstractMessageWrapper<T extends HttpMessage>AbstractHttpMessagewrapper.classBasicClassicHttpRequestBasic implementation ofClassicHttpRequest.classBasicClassicHttpResponseBasic implementation ofClassicHttpResponse.classBasicHttpRequestBasic implementation ofHttpRequest.classBasicHttpResponseBasic implementation ofHttpResponse.classHeaderGroupA class for combining a set of headers.classHttpRequestWrapperWraps anHttpRequest.classHttpResponseWrapperWraps anHttpResponse.Methods in org.apache.hc.core5.http.message with parameters of type MessageHeaders Modifier and Type Method Description static java.util.Set<java.lang.String>MessageSupport. hopByHopConnectionSpecific(MessageHeaders headers)static java.util.Iterator<HeaderElement>MessageSupport. iterate(MessageHeaders headers, java.lang.String name)static java.util.Iterator<java.lang.String>MessageSupport. iterateTokens(MessageHeaders headers, java.lang.String name)static voidMessageSupport. parseElementList(MessageHeaders headers, java.lang.String name, java.util.function.BiConsumer<java.lang.CharSequence,ParserCursor> consumer)static voidMessageSupport. parseElementListStrict(MessageHeaders headers, java.lang.String name, ElementConsumer consumer)static voidMessageSupport. parseElements(MessageHeaders headers, java.lang.String headerName, java.util.function.Consumer<HeaderElement> consumer)static voidMessageSupport. parseHeaders(MessageHeaders headers, java.lang.String name, java.util.function.BiConsumer<java.lang.CharSequence,ParserCursor> consumer)static voidMessageSupport. parseHeadersStrict(MessageHeaders headers, java.lang.String name, ElementConsumer consumer)static voidMessageSupport. parseTokens(MessageHeaders headers, java.lang.String headerName, java.util.function.Consumer<java.lang.String> consumer)static voidMessageSupport. parseTokens(MessageHeaders headers, java.lang.String headerName, Tokenizer.Delimiter delimiterPredicate, java.util.function.Consumer<java.lang.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 MessageHeaders Modifier and Type Interface Description interfaceNHttpMessageParser<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 MessageHeaders Modifier and Type Method Description static StructuredFieldDictionaryStructuredFieldHeaders. parseDictionary(MessageHeaders headers, java.lang.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, java.lang.String name)Parses the field namednameas a single Structured Field Item.static StructuredFieldListStructuredFieldHeaders. parseList(MessageHeaders headers, java.lang.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.
-