Uses of Interface
io.helidon.http.HeaderName
Package
Description
Testing support for HTTP.
Common cross origin configuration and types used by all Helidon flavors.
HTTP APIs and implementations usable by both server and client side of the HTTP story.
Helidon Common HTTP/2 classes.
Mock LRA coordinator with Narayana like rest api for testing.
Helidon WebClient APIs shared by all types of clients.
Helidon WebServer Access Log Support.
Helidon WebServer gRPC Support.
Helidon WebServer HTTP specific APIs.
WebSocket server support.
-
Uses of HeaderName in io.helidon.common.testing.http.junit5
Modifier and TypeMethodDescriptionstatic 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 HeaderName in io.helidon.cors
Modifier and TypeMethodDescriptionCorsRequestAdapter.allHeaders
(HeaderName key) Retrieves all header values for a given key as Strings.CorsRequestAdapter.firstHeader
(HeaderName key) Retrieves the first value for the specified header as a String.CorsResponseAdapter.header
(HeaderName key, Object value) Arranges to add the specified header and value to the eventual response.CorsResponseAdapter.header
(HeaderName key, String value) Arranges to add the specified header and value to the eventual response.boolean
CorsRequestAdapter.headerContainsKey
(HeaderName key) Reports whether the specified header exists. -
Uses of HeaderName in io.helidon.http
Modifier and TypeFieldDescriptionstatic final HeaderName
HeaderNames.ACCEPT
TheAccept
header name.static final HeaderName
HeaderNames.ACCEPT_CHARSET
TheAccept-Charset
header name.static final HeaderName
HeaderNames.ACCEPT_DATETIME
TheAccept-Datetime
header name.static final HeaderName
HeaderNames.ACCEPT_ENCODING
TheAccept-Encoding
header name.static final HeaderName
HeaderNames.ACCEPT_LANGUAGE
TheAccept-Language
header name.static final HeaderName
HeaderNames.ACCEPT_PATCH
TheAccept-Patch
header name.static final HeaderName
HeaderNames.ACCEPT_RANGES
TheAccept-Ranges
header name.static final HeaderName
HeaderNames.ACCESS_CONTROL_ALLOW_CREDENTIALS
TheAccess-Control-Allow-Credentials
header name.static final HeaderName
HeaderNames.ACCESS_CONTROL_ALLOW_HEADERS
TheAccess-Control-Allow-Headers
header name.static final HeaderName
HeaderNames.ACCESS_CONTROL_ALLOW_METHODS
TheAccess-Control-Allow-Methods
header name.static final HeaderName
HeaderNames.ACCESS_CONTROL_ALLOW_ORIGIN
TheAccess-Control-Allow-Origin
header name.static final HeaderName
HeaderNames.ACCESS_CONTROL_EXPOSE_HEADERS
TheAccess-Control-Expose-Headers
header name.static final HeaderName
HeaderNames.ACCESS_CONTROL_MAX_AGE
TheAccess-Control-Max-Age
header name.static final HeaderName
HeaderNames.ACCESS_CONTROL_REQUEST_HEADERS
TheAccess-Control-Request-Headers
header name.static final HeaderName
HeaderNames.ACCESS_CONTROL_REQUEST_METHOD
TheAccess-Control-Request-Method
header name.static final HeaderName
HeaderNames.AGE
TheAge
header name.static final HeaderName
HeaderNames.ALLOW
TheAllow
header name.static final HeaderName
HeaderNames.ALT_SVC
The<code>{@value}</code>
header name.static final HeaderName
HeaderNames.AUTHORIZATION
TheAuthorization
header name.static final HeaderName
HeaderNames.CACHE_CONTROL
TheCache-Control
header name.static final HeaderName
HeaderNames.CONNECTION
TheConnection
header name.static final HeaderName
HeaderNames.CONTENT_DISPOSITION
The<code>{@value}</code>
header name.static final HeaderName
HeaderNames.CONTENT_ENCODING
TheContent-Encoding
header name.static final HeaderName
HeaderNames.CONTENT_LANGUAGE
TheContent-Language
header name.static final HeaderName
HeaderNames.CONTENT_LENGTH
TheContent-Length
header name.static final HeaderName
HeaderNames.CONTENT_LOCATION
TheContent-Location
header name.static final HeaderName
HeaderNames.CONTENT_RANGE
TheContent-Range
header name.static final HeaderName
HeaderNames.CONTENT_TYPE
TheContent-Type
header name.static final HeaderName
HeaderNames.COOKIE
TheCookie
header name.static final HeaderName
HeaderNames.DATE
TheDate
header name.static final HeaderName
HeaderNames.ETAG
TheEtag
header name.static final HeaderName
HeaderNames.EXPECT
TheExpect
header name.static final HeaderName
HeaderNames.EXPIRES
TheExpires
header name.static final HeaderName
HeaderNames.FORWARDED
TheForwarded
header name.static final HeaderName
HeaderNames.FROM
TheFrom
header name.static final HeaderName
HeaderNames.HOST
TheHost
header name.static final HeaderName
HeaderNames.IF_MATCH
TheIf-Match
header name.static final HeaderName
HeaderNames.IF_MODIFIED_SINCE
TheIf-Modified-Since
header name.static final HeaderName
HeaderNames.IF_NONE_MATCH
TheIf-None-Match
header name.static final HeaderName
HeaderNames.IF_RANGE
TheIf-Range
header name.static final HeaderName
HeaderNames.IF_UNMODIFIED_SINCE
TheIf-Unmodified-Since
header name.static final HeaderName
HeaderNames.LAST_MODIFIED
TheLast-Modified
header name.static final HeaderName
HeaderNames.LINK
TheLink
header name.static final HeaderName
HeaderNames.LOCATION
TheLocation
header name.static final HeaderName
HeaderNames.MAX_FORWARDS
TheMax-Forwards
header name.static final HeaderName
HeaderNames.ORIGIN
The<code>{@value}</code>
header name.static final HeaderName
HeaderNames.PRAGMA
ThePragma
header name.static final HeaderName
HeaderNames.PROXY_AUTHENTICATE
TheProxy-Authenticate
header name.static final HeaderName
HeaderNames.PROXY_AUTHORIZATION
TheProxy-Authorization
header name.static final HeaderName
HeaderNames.PUBLIC_KEY_PINS
ThePublic-Key-Pins
header name.static final HeaderName
HeaderNames.RANGE
TheRange
header name.static final HeaderName
HeaderNames.REFERER
The<code>{@value}</code>
header name.static final HeaderName
HeaderNames.REFRESH
The<code>{@value}</code>
header name.static final HeaderName
HeaderNames.RETRY_AFTER
The<code>{@value}</code>
header name.static final HeaderName
HeaderNames.SERVER
TheServer
header name.static final HeaderName
HeaderNames.SET_COOKIE
TheSet-Cookie
header name.static final HeaderName
HeaderNames.SET_COOKIE2
TheSet-Cookie2
header name.static final HeaderName
HeaderNames.STRICT_TRANSPORT_SECURITY
TheStrict-Transport-Security
header name.static final HeaderName
HeaderNames.TE
The<code>{@value}</code>
header name.static final HeaderName
HeaderNames.TRAILER
TheTrailer
header name.static final HeaderName
HeaderNames.TRANSFER_ENCODING
TheTransfer-Encoding
header name.static final HeaderName
HeaderNames.TSV
TheTsv
header name.static final HeaderName
HeaderNames.UPGRADE
TheUpgrade
header name.static final HeaderName
HeaderNames.USER_AGENT
TheUser-Agent
header name.static final HeaderName
HeaderNames.VARY
TheVary
header name.static final HeaderName
HeaderNames.VIA
TheVia
header name.static final HeaderName
HeaderNames.WARNING
TheWarning
header name.static final HeaderName
HeaderNames.WWW_AUTHENTICATE
TheWWW-Authenticate
header name.static final HeaderName
HeaderNames.X_FORWARDED_FOR
TheX-Forwarded-For
header name.static final HeaderName
HeaderNames.X_FORWARDED_HOST
TheX_FORWARDED_HOST
header name.static final HeaderName
HeaderNames.X_FORWARDED_PORT
TheX_FORWARDED_PORT
header name.static final HeaderName
HeaderNames.X_FORWARDED_PREFIX
TheX_FORWARDED_PREFIX
header name.static final HeaderName
HeaderNames.X_FORWARDED_PROTO
TheX_FORWARDED_PROTO
header name.static final HeaderName
HeaderNames.X_HELIDON_CN
TheX_HELIDON_CN
header name.Modifier and TypeMethodDescriptionstatic HeaderName
Find or create a header name.static HeaderName
Find or create a header name.static HeaderName
HeaderNames.createFromLowercase
(String lowerCase) Create a header name from lower case letters.ContentDisposition.headerName()
Header.headerName()
Header name for the header.Modifier and TypeMethodDescriptiondefault B
WritableHeaders.add
(HeaderName header, int value) Add a header or add a header value if the header is already present.default B
WritableHeaders.add
(HeaderName header, long value) Add a header or add a header value if the header is already present.default B
WritableHeaders.add
(HeaderName header, String... value) Add a header or add a header value if the header is already present.Headers.all
(HeaderName name, Supplier<List<String>> defaultSupplier) Get all values of a header.boolean
Headers.contains
(HeaderName name) Whether these headers contain a header with the provided name.static 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
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.Headers.first
(HeaderName headerName) Returns a first header value.Headers.get
(HeaderName name) Get a header value.DirectHandler.TransportResponse.Builder.header
(HeaderName name, String... values) Set a header (if exists, it would be replaced).WritableHeaders.remove
(HeaderName name) Remove a header.WritableHeaders.remove
(HeaderName name, Consumer<Header> removedConsumer) Remove a header.default B
WritableHeaders.set
(HeaderName name, int value) Set a header and replace it if it already existed.default B
WritableHeaders.set
(HeaderName name, long value) Set a header and replace it if it already existed.default B
WritableHeaders.set
(HeaderName name, String... values) Set a header and replace it if it already existed.default B
WritableHeaders.set
(HeaderName name, Collection<String> values) Set a header and replace it if it already existed.Headers.value
(HeaderName headerName) Returns a header value as a singleString
potentially concatenated using comma character fromHeaders.all(HeaderName, java.util.function.Supplier)
header fields.Headers.values
(HeaderName headerName) Returns an unmodifiableList
of all comma separated header value parts - Such segmentation is NOT valid for all header semantics, however it is very common. -
Uses of HeaderName in io.helidon.http.http2
Modifier and TypeFieldDescriptionstatic final HeaderName
Http2Headers.AUTHORITY_NAME
Header name of the authority pseudo header.static final HeaderName
Http2Headers.METHOD_NAME
Header name of the method pseudo header.static final HeaderName
Http2Headers.PATH_NAME
Header name of the path pseudo header.static final HeaderName
Http2Headers.SCHEME_NAME
Header name of the scheme pseudo header.static final HeaderName
Http2Headers.STATUS_NAME
Header name of the status pseudo header. -
Uses of HeaderName in io.helidon.lra.coordinator
Modifier and TypeFieldDescriptionstatic final HeaderName
LRA header name.static final HeaderName
LRA ended header name.static final HeaderName
LRA parent header name.static final HeaderName
LRA recovery header name. -
Uses of HeaderName in io.helidon.webclient.api
Modifier and TypeMethodDescriptionHttpClientConfig.BuilderBase.addHeader
(HeaderName name, int value) Add a default header value.HttpClientConfig.BuilderBase.addHeader
(HeaderName name, long value) Add a default header value.HttpClientConfig.BuilderBase.addHeader
(HeaderName name, String value) Add a default header value.default T
ClientRequest.header
(HeaderName name, String... values) Set an HTTP header.default T
ClientRequest.header
(HeaderName name, List<String> values) Set an HTTP header with multiple values. -
Uses of HeaderName in io.helidon.webserver.accesslog
Modifier and TypeMethodDescriptionstatic HeaderLogEntry.Builder
HeaderLogEntry.builder
(HeaderName headerName) Create a fluent API builder for a header log entry. -
Uses of HeaderName in io.helidon.webserver.grpc
Modifier and TypeFieldDescriptionstatic final HeaderName
GrpcStatus.MESSAGE_NAME
grpc status message header name.static final HeaderName
GrpcStatus.STATUS_NAME
grpc status header name. -
Uses of HeaderName in io.helidon.webserver.http
Modifier and TypeFieldDescriptionprotected static final HeaderName
ServerResponseBase.STREAM_RESULT_NAME
Stream result trailer name.Modifier and TypeMethodDescriptiondefault ServerResponse
ServerResponse.header
(HeaderName name, String... values) Set a header. -
Uses of HeaderName in io.helidon.webserver.websocket
Modifier and TypeFieldDescriptionstatic final HeaderName
WsUpgrader.EXTENSIONS
Websocket protocol header name.static final HeaderName
WsUpgrader.PROTOCOL
Websocket protocol header name.static final HeaderName
WsUpgrader.WS_KEY
Websocket key header name.static final HeaderName
WsUpgrader.WS_VERSION
Websocket version header name.