Uses of Interface
io.helidon.http.Headers
Package
Description
Testing support for HTTP.
HTTP APIs and implementations usable by both server and client side of the HTTP story.
HTTP Content encoding support, usually used to compress entity, such as
gzip
.Helidon Common HTTP/2 classes.
Helidon Media Support.
Jackson media type support.
JSON-Binding Entity Media handling support.
JSON-Processing Entity Media handling support.
Multipart Entity Media handling support.
Common classes for accessing JSON based REST APIs of third party systems.
Helidon WebClient APIs shared by all types of clients.
Helidon WebClient HTTP/2 Support.
Helidon WebServer HTTP specific APIs.
Helidon WebServer HTTP/1.1 specific APIs.
WebSocket server support.
WebSocket APIs.
-
Uses of Headers in io.helidon.common.testing.http.junit5
Modifier and TypeMethodDescriptionstatic org.hamcrest.Matcher
<Headers> A matcher for anHeaders
that checks that the header is present and has the defined value.static org.hamcrest.Matcher
<Headers> HttpHeaderMatcher.hasHeader
(HeaderName name) A matcher for anHeaders
that checks that the header is present, ignoring its value.static org.hamcrest.Matcher
<Headers> HttpHeaderMatcher.hasHeader
(HeaderName name, String... value) A matcher for anHeaders
that checks that the header is present and has the defined value(s).static org.hamcrest.Matcher
<Headers> HttpHeaderMatcher.hasHeader
(HeaderName name, org.hamcrest.Matcher<Iterable<? extends String>> valuesMatcher) A matcher for anHeaders
that checks that the header is present and values match the provided matcher.static org.hamcrest.Matcher
<Headers> HttpHeaderMatcher.hasHeaderValue
(HeaderName name, org.hamcrest.Matcher<String> valueMatcher) A matcher for anHeaders
that checks that the header is present and its single value matches the provided matcher.static org.hamcrest.Matcher
<Headers> HttpHeaderMatcher.noHeader
(HeaderName name) A matcher for anHeaders
that checks that the header is not present. -
Uses of Headers in io.helidon.http
Modifier and TypeInterfaceDescriptioninterface
Mutable headers of a client request.interface
HTTP Headers of a client response.interface
HTTP Trailer headers of a client response.interface
HTTP headers of a server request.interface
Mutable headers of a server response.interface
Mutable trailers of a server response.interface
WritableHeaders<B extends WritableHeaders<B>>
HTTP Headers that are mutable.Modifier and TypeMethodDescriptionHttpException.headers()
Headers as currently configured in this exception.Modifier and TypeMethodDescriptionstatic ClientRequestHeaders
Create client request headers from headers.static ClientResponseHeaders
Create a new instance from headers parsed from client response.static ClientResponseHeaders
ClientResponseHeaders.create
(Headers responseHeaders, ParserMode parserMode) Create a new instance from headers parsed from client response.static ClientResponseTrailers
Create new trailers from headers future.Parse forwarded header(s) from the provided headers.static ServerRequestHeaders
Create a new instance from headers.static ServerResponseHeaders
Create a new instance of mutable server response headers.static ServerResponseTrailers
Create a new instance of mutable server response trailers.static WritableHeaders
<?> Create a new instance of writable headers from existing headers.For each header from the provided headers, set its value on these headers. -
Uses of Headers in io.helidon.http.encoding
Modifier and TypeMethodDescriptionDiscover content encoder based on the HTTP headers. -
Uses of Headers in io.helidon.http.http2
-
Uses of Headers in io.helidon.http.media
Modifier and TypeMethodDescriptiondefault InstanceWriter
EntityWriter.instanceWriter
(GenericType<T> type, T object, Headers requestHeaders, WritableHeaders<?> responseHeaders) Server response entity instance writer.EntityReader.read
(GenericType<T> type, InputStream stream, Headers headers) Read server request entity and close the stream.EntityReader.read
(GenericType<T> type, InputStream stream, Headers requestHeaders, Headers responseHeaders) Read client response entity and close the stream.<T> MediaSupport.ReaderResponse
<T> FormParamsSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> FormParamsSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) <T> EntityReader
<T> MediaContext.reader
(GenericType<T> type, Headers headers) Reader for entity.<T> EntityReader
<T> MediaContext.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) Reader for client response entity.default <T> MediaSupport.ReaderResponse
<T> MediaSupport.reader
(GenericType<T> type, Headers headers) Reader for an entity.default <T> MediaSupport.ReaderResponse
<T> MediaSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) Client response reader.<T> MediaSupport.ReaderResponse
<T> PathSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> PathSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) <T> MediaSupport.ReaderResponse
<T> StringSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> StringSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) void
EntityWriter.write
(GenericType<T> type, T object, OutputStream outputStream, Headers requestHeaders, WritableHeaders<?> responseHeaders) Write server response entity and close the stream.<T> MediaSupport.WriterResponse
<T> FormParamsSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) <T> EntityWriter
<T> MediaContext.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) Writer for server response entity.default <T> MediaSupport.WriterResponse
<T> MediaSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) Server response writer.<T> MediaSupport.WriterResponse
<T> PathSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) <T> MediaSupport.WriterResponse
<T> StringSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) -
Uses of Headers in io.helidon.http.media.jackson
Modifier and TypeMethodDescription<T> MediaSupport.ReaderResponse
<T> JacksonSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> JacksonSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) <T> MediaSupport.WriterResponse
<T> JacksonSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) -
Uses of Headers in io.helidon.http.media.jsonb
Modifier and TypeMethodDescription<T> MediaSupport.ReaderResponse
<T> JsonbSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> JsonbSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) <T> MediaSupport.WriterResponse
<T> JsonbSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) -
Uses of Headers in io.helidon.http.media.jsonp
Modifier and TypeMethodDescription<T> MediaSupport.ReaderResponse
<T> JsonpSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> JsonpSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) <T> MediaSupport.WriterResponse
<T> JsonpSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) -
Uses of Headers in io.helidon.http.media.multipart
Modifier and TypeMethodDescriptionWriteablePart.headers()
Full set of configured headers of this part.ReadablePart.partHeaders()
Headers of this part.Modifier and TypeMethodDescription<T> MediaSupport.ReaderResponse
<T> MultiPartSupport.reader
(GenericType<T> type, Headers requestHeaders) <T> MediaSupport.ReaderResponse
<T> MultiPartSupport.reader
(GenericType<T> type, Headers requestHeaders, Headers responseHeaders) <T> MediaSupport.WriterResponse
<T> MultiPartSupport.writer
(GenericType<T> type, Headers requestHeaders, WritableHeaders<?> responseHeaders) void
WriteablePart.writeServerResponse
(MediaContext context, OutputStream outputStream, Headers requestHeaders) Write this part as part of server response. -
Uses of Headers in io.helidon.integrations.common.rest
Modifier and TypeMethodDescriptionApiResponse.Builder.headers()
Received HTTP headers.ApiResponse.headers()
HTTP headers returned in the response.ApiRestException.headers()
Response HTTP headers.Modifier and TypeMethodDescriptionConfigure the HTTP headers returned by the API call.HTTP headers configured byRestApi
.Configure the HTTP headers returned by the API call. -
Uses of Headers in io.helidon.webclient.api
-
Uses of Headers in io.helidon.webclient.http2
Modifier and TypeMethodDescriptionHttp2ClientStream.trailers()
Future that shall be completed once trailers are received. -
Uses of Headers in io.helidon.webserver.http
Modifier and TypeMethodDescriptionDirectTransportRequest.create
(HttpPrologue prologue, Headers headers) Configure a simple request from known prologue and headers. -
Uses of Headers in io.helidon.webserver.http1
Modifier and TypeMethodDescriptiondefault void
Http1ConnectionListener.headers
(ConnectionContext ctx, Headers headers) Handle headers.void
Http1LoggingConnectionListener.headers
(ConnectionContext ctx, Headers headers) -
Uses of Headers in io.helidon.webserver.websocket
Modifier and TypeMethodDescriptionstatic WsConnection
WsConnection.create
(ConnectionContext ctx, HttpPrologue prologue, Headers upgradeHeaders, String wsKey, WsRoute wsRoute) Create a new connection using a route.static WsConnection
WsConnection.create
(ConnectionContext ctx, HttpPrologue prologue, Headers upgradeHeaders, String wsKey, WsListener wsListener) Create a new connection using a listener. -
Uses of Headers in io.helidon.websocket
Modifier and TypeMethodDescriptionWsListener.onHttpUpgrade
(HttpPrologue prologue, Headers headers) Invoked during handshake process.Modifier and TypeMethodDescriptionWsListener.onHttpUpgrade
(HttpPrologue prologue, Headers headers) Invoked during handshake process.