Uses of Interface
io.helidon.http.Header
Package
Description
Testing support for HTTP.
HTTP APIs and implementations usable by both server and client side of the HTTP story.
Helidon WebClient APIs shared by all types of clients.
Helidon WebServer gRPC Support.
Helidon WebServer HTTP specific APIs.
WebSocket server support.
-
Uses of Header in io.helidon.common.testing.http.junit5
-
Uses of Header in io.helidon.http
Modifier and TypeClassDescriptionclass
A generic representation of theContent-Disposition
header.Modifier and TypeFieldDescriptionstatic final Header
HeaderValues.ACCEPT_EVENT_STREAM
Accept text/event-stream.static final Header
HeaderValues.ACCEPT_JSON
Accept application/json.static final Header
HeaderValues.ACCEPT_RANGES_BYTES
Accept byte ranges for file download.static final Header
HeaderValues.ACCEPT_RANGES_NONE
Not accepting byte ranges for file download.static final Header
HeaderValues.ACCEPT_TEXT
Accept text/plain with UTF-8.static final Header
HeaderValues.CACHE_NO_CACHE
Cache control without any caching.static final Header
HeaderValues.CACHE_NORMAL
Cache control that allows caching with no transform.static final Header
HeaderValues.CONNECTION_CLOSE
Connection close.static final Header
HeaderValues.CONNECTION_KEEP_ALIVE
Connection keep-alive.static final Header
HeaderValues.CONTENT_LENGTH_ZERO
Content length with 0 value.static final Header
HeaderValues.CONTENT_TYPE_EVENT_STREAM
Content type SSE event stream.static final Header
HeaderValues.CONTENT_TYPE_JSON
Content type application/json with no charset.static final Header
HeaderValues.CONTENT_TYPE_OCTET_STREAM
Content type octet stream.static final Header
HeaderValues.CONTENT_TYPE_TEXT_PLAIN
Content type text plain with no charset.static final Header
HeaderValues.EXPECT_100
Expect 100 header.static final Header
ServerRequestHeaders.HUC_ACCEPT_DEFAULT
Header value of the non compliantAccept
header sent byHttpURLConnection
when none is set.static final Header
HeaderValues.TE_TRAILERS
TE header set totrailers
, used to enable trailer headers.static final Header
HeaderValues.TRANSFER_ENCODING_CHUNKED
Chunked transfer encoding.Modifier and TypeMethodDescriptionstatic Header
HeaderValues.create
(HeaderName name, boolean changing, boolean sensitive, int value) Create a new header.static Header
HeaderValues.create
(HeaderName name, boolean changing, boolean sensitive, long value) Create a new header.static Header
HeaderValues.create
(HeaderName name, boolean changing, boolean sensitive, String... values) Create a new header.static Header
HeaderValues.create
(HeaderName name, int value) Create a new header with a single value.static Header
HeaderValues.create
(HeaderName name, long value) Create a new header with a single value.static Header
HeaderValues.create
(HeaderName name, LazyString value) Create a new header with a single value.static Header
HeaderValues.create
(HeaderName name, String value) Create a new header with a single value.static Header
HeaderValues.create
(HeaderName name, String... values) Create a new header.static Header
HeaderValues.create
(HeaderName name, Collection<String> values) Create a new header.static Header
Create a new header with a single value.static Header
Create a new header with a single value.static Header
Create a new header with a single value.static Header
Create a new header.static Header
HeaderValues.create
(String name, Collection<String> values) Create a new header.static Header
HeaderValues.createCached
(HeaderName name, boolean changing, boolean sensitive, String value) Create and cache byte value.static Header
HeaderValues.createCached
(HeaderName name, int value) Create and cache byte value.static Header
HeaderValues.createCached
(HeaderName name, long value) Create and cache byte value.static Header
HeaderValues.createCached
(HeaderName name, String value) Create and cache byte value.static Header
HeaderValues.createCached
(String name, int value) Create and cache byte value.static Header
HeaderValues.createCached
(String name, long value) Create and cache byte value.static Header
HeaderValues.createCached
(String name, String value) Create and cache byte value.Headers.get
(HeaderName name) Get a header value.Modifier and TypeMethodDescriptionHeaders.stream()
A sequential stream with these headers as the source.Modifier and TypeMethodDescriptionAdd a header or add a header value if the header is already present.boolean
Whether these headers contain a header with the provided name and value.static HeaderWriteable
Create a new mutable header from an existing header.Set a header (if exists, it would be replaced).Set a response header that should be used if this exception is not handled.Response header to be added to error response.Set a header and replace it if it already existed.WritableHeaders.setIfAbsent
(Header header) Set a value of a header unless it is already present.Modifier and TypeMethodDescriptionWritableHeaders.remove
(HeaderName name, Consumer<Header> removedConsumer) Remove a header. -
Uses of Header in io.helidon.webclient.api
Modifier and TypeFieldDescriptionstatic final Header
ClientRequestBase.PROXY_CONNECTION
Proxy connection header.static final Header
ClientRequestBase.USER_AGENT_HEADER
Helidon user agent request header.Modifier and TypeMethodDescriptionHttpClientConfig.BuilderBase.headers()
Default headers to be used in every request.HttpClientConfig.BuilderBase.HttpClientConfigImpl.headers()
Modifier and TypeMethodDescriptionDefault headers to be used in every request.Set an HTTP header. -
Uses of Header in io.helidon.webserver.grpc
Modifier and TypeFieldDescriptionstatic final Header
GrpcStatus.ABORTED
The operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.static final Header
GrpcStatus.ALREADY_EXISTS
Some entity that we attempted to create (e.g., file or directory) already exists.static final Header
GrpcStatus.CANCELLED
The operation was cancelled (typically by the caller).static final Header
GrpcStatus.DATA_LOSS
Unrecoverable data loss or corruption.static final Header
GrpcStatus.DEADLINE_EXCEEDED
Deadline expired before operation could complete.static final Header
GrpcStatus.FAILED_PRECONDITION
Operation was rejected because the system is not in a state required for the operation's execution.static final Header
GrpcStatus.INTERNAL
Internal errors.static final Header
GrpcStatus.INVALID_ARGUMENT
Client specified an invalid argument.static final Header
GrpcStatus.NOT_FOUND
Some requested entity (e.g., file or directory) was not found.static final Header
GrpcStatus.OK
The operation completed successfully.static final Header
GrpcStatus.OUT_OF_RANGE
Operation was attempted past the valid range.static final Header
GrpcStatus.PERMISSION_DENIED
The caller does not have permission to execute the specified operation.static final Header
GrpcStatus.RESOURCE_EXHAUSTED
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.static final Header
GrpcStatus.UNAUTHENTICATED
The request does not have valid authentication credentials for the operation.static final Header
GrpcStatus.UNAVAILABLE
The service is currently unavailable.static final Header
GrpcStatus.UNIMPLEMENTED
Operation is not implemented or not supported/enabled in this service.static final Header
GrpcStatus.UNKNOWN
Unknown error. -
Uses of Header in io.helidon.webserver.http
Modifier and TypeFieldDescriptionprotected static final Header
ServerResponseBase.STREAM_TRAILERS
Stream status trailers.Modifier and TypeMethodDescriptionvoid
Replace (or set) a request header.Set header with a value. -
Uses of Header in io.helidon.webserver.websocket
Modifier and TypeFieldDescriptionprotected static final Header
WsUpgrader.SUPPORTED_VERSION_HEADER
Supported version header.