Uses of Interface
io.helidon.http.Header
Packages that use 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
Methods in io.helidon.common.testing.http.junit5 with parameters of type Header -
Uses of Header in io.helidon.http
Subinterfaces of Header in io.helidon.httpClasses in io.helidon.http that implement HeaderModifier and TypeClassDescriptionclassA generic representation of theContent-Dispositionheader.Fields in io.helidon.http declared as HeaderModifier and TypeFieldDescriptionstatic final HeaderHeaderValues.ACCEPT_EVENT_STREAMAccept text/event-stream.static final HeaderHeaderValues.ACCEPT_JSONAccept application/json.static final HeaderHeaderValues.ACCEPT_RANGES_BYTESAccept byte ranges for file download.static final HeaderHeaderValues.ACCEPT_RANGES_NONENot accepting byte ranges for file download.static final HeaderHeaderValues.ACCEPT_TEXTAccept text/plain with UTF-8.static final HeaderHeaderValues.CACHE_NO_CACHECache control without any caching.static final HeaderHeaderValues.CACHE_NORMALCache control that allows caching with no transform.static final HeaderHeaderValues.CONNECTION_CLOSEConnection close.static final HeaderHeaderValues.CONNECTION_KEEP_ALIVEConnection keep-alive.static final HeaderHeaderValues.CONTENT_LENGTH_ZEROContent length with 0 value.static final HeaderHeaderValues.CONTENT_TYPE_EVENT_STREAMContent type SSE event stream.static final HeaderHeaderValues.CONTENT_TYPE_JSONContent type application/json with no charset.static final HeaderHeaderValues.CONTENT_TYPE_OCTET_STREAMContent type octet stream.static final HeaderHeaderValues.CONTENT_TYPE_TEXT_PLAINContent type text plain with no charset.static final HeaderHeaderValues.EXPECT_100Expect 100 header.static final HeaderServerRequestHeaders.HUC_ACCEPT_DEFAULTHeader value of the non compliantAcceptheader sent byHttpURLConnectionwhen none is set.static final HeaderHeaderValues.TE_TRAILERSTE header set totrailers, used to enable trailer headers.static final HeaderHeaderValues.TRANSFER_ENCODING_CHUNKEDChunked transfer encoding.static final HeaderHeaderValues.X_CONTENT_TYPE_OPTIONS_NOSNIFFDiscourage browsers from attempting to detect the content type by "sniffing" the data.Methods in io.helidon.http that return HeaderModifier and TypeMethodDescriptionstatic HeaderHeaderValues.create(HeaderName name, boolean changing, boolean sensitive, int value) Create a new header.static HeaderHeaderValues.create(HeaderName name, boolean changing, boolean sensitive, long value) Create a new header.static HeaderHeaderValues.create(HeaderName name, boolean changing, boolean sensitive, String... values) Create a new header.static HeaderHeaderValues.create(HeaderName name, int value) Create a new header with a single value.static HeaderHeaderValues.create(HeaderName name, long value) Create a new header with a single value.static HeaderHeaderValues.create(HeaderName name, LazyString value) Create a new header with a single value.static HeaderHeaderValues.create(HeaderName name, Iterable<String> values) Create a new header.static HeaderHeaderValues.create(HeaderName name, String value) Create a new header with a single value.static HeaderHeaderValues.create(HeaderName name, String... values) Create a new header.static HeaderHeaderValues.create(HeaderName name, Collection<String> values) Create a new header.static HeaderCreate a new header with a single value.static HeaderCreate a new header with a single value.static HeaderCreate a new header.static HeaderCreate a new header with a single value.static HeaderCreate a new header.static HeaderHeaderValues.create(String name, Collection<String> values) Create a new header.static HeaderHeaderValues.createCached(HeaderName name, boolean changing, boolean sensitive, String value) Create and cache byte value.static HeaderHeaderValues.createCached(HeaderName name, int value) Create and cache byte value.static HeaderHeaderValues.createCached(HeaderName name, long value) Create and cache byte value.static HeaderHeaderValues.createCached(HeaderName name, String value) Create and cache byte value.static HeaderHeaderValues.createCached(String name, int value) Create and cache byte value.static HeaderHeaderValues.createCached(String name, long value) Create and cache byte value.static HeaderHeaderValues.createCached(String name, String value) Create and cache byte value.Headers.get(HeaderName name) Get a header value.Methods in io.helidon.http that return types with arguments of type HeaderModifier and TypeMethodDescriptionHttp.HeaderFunction.apply(HeaderName name) Produce an instance of a named header.Headers.find(HeaderName headerName) Find the first header.Headers.stream()A sequential stream with these headers as the source.Methods in io.helidon.http with parameters of type HeaderModifier and TypeMethodDescriptionAdd a header or add a header value if the header is already present.booleanWhether these headers contain a header with the provided name and value.static HeaderWriteableCreate 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.Method parameters in io.helidon.http with type arguments of type HeaderModifier and TypeMethodDescriptionWritableHeaders.remove(HeaderName name, Consumer<Header> removedConsumer) Remove a header. -
Uses of Header in io.helidon.webclient.api
Fields in io.helidon.webclient.api declared as HeaderModifier and TypeFieldDescriptionstatic final HeaderClientRequestBase.PROXY_CONNECTIONProxy connection header.static final HeaderClientRequestBase.USER_AGENT_HEADERHelidon user agent request header.Methods in io.helidon.webclient.api that return types with arguments of type HeaderModifier and TypeMethodDescriptionHttpClientConfig.BuilderBase.headers()Default headers to be used in every request.HttpClientConfig.BuilderBase.HttpClientConfigImpl.headers()HttpClientConfig.headers()Default headers to be used in every request.Methods in io.helidon.webclient.api with parameters of type HeaderModifier and TypeMethodDescriptionDefault headers to be used in every request.Set an HTTP header.Method parameters in io.helidon.webclient.api with type arguments of type Header -
Uses of Header in io.helidon.webserver.grpc
Fields in io.helidon.webserver.grpc declared as HeaderModifier and TypeFieldDescriptionstatic final HeaderGrpcStatus.ABORTEDThe operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.static final HeaderGrpcStatus.ALREADY_EXISTSSome entity that we attempted to create (e.g., file or directory) already exists.static final HeaderGrpcStatus.CANCELLEDThe operation was cancelled (typically by the caller).static final HeaderGrpcStatus.DATA_LOSSUnrecoverable data loss or corruption.static final HeaderGrpcStatus.DEADLINE_EXCEEDEDDeadline expired before operation could complete.static final HeaderGrpcStatus.FAILED_PRECONDITIONOperation was rejected because the system is not in a state required for the operation's execution.static final HeaderGrpcStatus.INTERNALInternal errors.static final HeaderGrpcStatus.INVALID_ARGUMENTClient specified an invalid argument.static final HeaderGrpcStatus.NOT_FOUNDSome requested entity (e.g., file or directory) was not found.static final HeaderGrpcStatus.OKThe operation completed successfully.static final HeaderGrpcStatus.OUT_OF_RANGEOperation was attempted past the valid range.static final HeaderGrpcStatus.PERMISSION_DENIEDThe caller does not have permission to execute the specified operation.static final HeaderGrpcStatus.RESOURCE_EXHAUSTEDSome resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.static final HeaderGrpcStatus.UNAUTHENTICATEDThe request does not have valid authentication credentials for the operation.static final HeaderGrpcStatus.UNAVAILABLEThe service is currently unavailable.static final HeaderGrpcStatus.UNIMPLEMENTEDOperation is not implemented or not supported/enabled in this service.static final HeaderGrpcStatus.UNKNOWNUnknown error. -
Uses of Header in io.helidon.webserver.http
Fields in io.helidon.webserver.http declared as HeaderModifier and TypeFieldDescriptionprotected static final HeaderServerResponseBase.STREAM_TRAILERSStream status trailers.Methods in io.helidon.webserver.http with parameters of type HeaderModifier and TypeMethodDescriptionvoidReplace (or set) a request header.Set header with a value. -
Uses of Header in io.helidon.webserver.websocket
Fields in io.helidon.webserver.websocket declared as HeaderModifier and TypeFieldDescriptionprotected static final HeaderWsUpgrader.SUPPORTED_VERSION_HEADERSupported version header.