Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(HttpMediaType...) - Method in interface io.helidon.common.http.HeadersClientRequest
-
Accepted media types.
- ACCEPT - Static variable in class io.helidon.common.http.Http.Header
-
The
Acceptheader name. - ACCEPT_CHARSET - Static variable in class io.helidon.common.http.Http.Header
-
The
Accept-Charsetheader name. - ACCEPT_DATETIME - Static variable in class io.helidon.common.http.Http.Header
-
The
Accept-Datetimeheader name. - ACCEPT_ENCODING - Static variable in class io.helidon.common.http.Http.Header
-
The
Accept-Encodingheader name. - ACCEPT_JSON - Static variable in class io.helidon.common.http.Http.HeaderValues
-
Accept application/json.
- ACCEPT_LANGUAGE - Static variable in class io.helidon.common.http.Http.Header
-
The
Accept-Languageheader name. - ACCEPT_PATCH - Static variable in class io.helidon.common.http.Http.Header
-
The
Accept-Patchheader name. - ACCEPT_RANGES - Static variable in class io.helidon.common.http.Http.Header
-
The
Accept-Rangesheader name. - ACCEPT_RANGES_BYTES - Static variable in class io.helidon.common.http.Http.HeaderValues
-
Accept byte ranges for file download.
- ACCEPT_RANGES_NONE - Static variable in class io.helidon.common.http.Http.HeaderValues
-
Not accepting byte ranges for file download.
- ACCEPT_TEXT - Static variable in class io.helidon.common.http.Http.HeaderValues
-
Accept text/plain with UTF-8.
- acceptDatetime() - Method in interface io.helidon.common.http.HeadersServerRequest
-
Optionally returns acceptedTypes version in time (
Http.Header.ACCEPT_DATETIMEheader). - ACCEPTED_202 - Static variable in class io.helidon.common.http.Http.Status
-
202 Accepted, see HTTP/1.1 documentation .
- acceptedMethods() - Method in interface io.helidon.common.http.Http.MethodPredicate
-
Methods accepted by this predicate, may be empty.
- acceptedTypes() - Method in interface io.helidon.common.http.Headers
-
Returns a list of acceptedTypes (
Http.Header.ACCEPTheader) content types in quality factor order. - acceptPatches() - Method in interface io.helidon.common.http.HeadersClientResponse
-
Accepted patches.
- ACCESS_CONTROL_ALLOW_CREDENTIALS - Static variable in class io.helidon.common.http.Http.Header
-
The
Access-Control-Allow-Credentialsheader name. - ACCESS_CONTROL_ALLOW_HEADERS - Static variable in class io.helidon.common.http.Http.Header
-
The
Access-Control-Allow-Headersheader name. - ACCESS_CONTROL_ALLOW_METHODS - Static variable in class io.helidon.common.http.Http.Header
-
The
Access-Control-Allow-Methodsheader name. - ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in class io.helidon.common.http.Http.Header
-
The
Access-Control-Allow-Originheader name. - ACCESS_CONTROL_EXPOSE_HEADERS - Static variable in class io.helidon.common.http.Http.Header
-
The
Access-Control-Expose-Headersheader name. - ACCESS_CONTROL_MAX_AGE - Static variable in class io.helidon.common.http.Http.Header
-
The
Access-Control-Max-Ageheader name. - ACCESS_CONTROL_REQUEST_HEADERS - Static variable in class io.helidon.common.http.Http.Header
-
The
Access-Control-Request-Headersheader name. - ACCESS_CONTROL_REQUEST_METHOD - Static variable in class io.helidon.common.http.Http.Header
-
The
Access-Control-Request-Methodheader name. - add(Http.HeaderName, String...) - Method in interface io.helidon.common.http.HeadersWritable
-
Add a header or add a header value if the header is already present.
- add(Http.HeaderValue) - Method in interface io.helidon.common.http.HeadersWritable
-
Add a header or add a header value if the header is already present.
- addAcceptPatches(HttpMediaType...) - Method in interface io.helidon.common.http.HeadersServerResponse
-
Adds one or more acceptedTypes path document formats (header
Http.Header.ACCEPT_PATCH). - addAcceptPatches(MediaType...) - Method in interface io.helidon.common.http.HeadersServerResponse
-
Adds one or more acceptedTypes path document formats (header
Http.Header.ACCEPT_PATCH). - addCookie(SetCookie) - Method in interface io.helidon.common.http.HeadersServerResponse
-
Adds
Set-Cookieheader specified in RFC6265. - addCookie(String, String) - Method in interface io.helidon.common.http.HeadersServerResponse
-
Adds
Set-Cookieheader based on RFC2616. - addCookie(String, String, Duration) - Method in interface io.helidon.common.http.HeadersServerResponse
- addParameter(String, String) - Method in class io.helidon.common.http.HttpMediaType.Builder
-
Add a new parameter to the parameter map.
- addValue(String) - Method in interface io.helidon.common.http.Http.HeaderValueWriteable
-
Add a value to this header.
- AGE - Static variable in class io.helidon.common.http.Http.Header
-
The
Ageheader name. - all(Http.HeaderName, Supplier<List<String>>) - Method in interface io.helidon.common.http.Headers
-
Get all values of a header.
- all(String) - Method in interface io.helidon.common.http.Headers
-
Deprecated, for removal: This API element is subject to removal in a future version.
- ALLOW - Static variable in class io.helidon.common.http.Http.Header
-
The
Allowheader name. - allValues() - Method in class io.helidon.common.http.ContentDisposition
- allValues() - Method in interface io.helidon.common.http.Http.HeaderValue
-
All values of this header.
- allValues(boolean) - Method in interface io.helidon.common.http.Http.HeaderValue
-
All values of this header.
- ALT_SVC - Static variable in class io.helidon.common.http.Http.Header
-
The
<code>{@value}</code>header name. - APPLICATION_JSON - Static variable in interface io.helidon.common.http.HttpMediaType
-
application/jsonmedia type without parameters. - APPLICATION_OCTET_STREAM - Static variable in interface io.helidon.common.http.HttpMediaType
-
application/octet-streammedia type without parameters. - ASCTIME_DATE_TIME - Static variable in class io.helidon.common.http.Http.DateTime
-
The ANSI C's
asctime()format, such as'Sun Nov 6 08:49:37 1994'. - AUTHORIZATION - Static variable in class io.helidon.common.http.Http.Header
-
The
Authorizationheader name.
B
- BAD_GATEWAY_502 - Static variable in class io.helidon.common.http.Http.Status
-
502 Bad Gateway, see HTTP/1.1 documentation.
- BAD_REQUEST - Enum constant in enum class io.helidon.common.http.DirectHandler.EventType
-
Bad request, such as invalid path, header.
- BAD_REQUEST_400 - Static variable in class io.helidon.common.http.Http.Status
-
400 Bad Request, see HTTP/1.1 documentation.
- BadRequestException - Exception Class in io.helidon.common.http
-
A runtime exception indicating a
bad request. - BadRequestException(String) - Constructor for exception class io.helidon.common.http.BadRequestException
-
Creates
BadRequestException. - BadRequestException(String, Throwable) - Constructor for exception class io.helidon.common.http.BadRequestException
-
Creates
BadRequestException. - bestAccepted(MediaType...) - Method in interface io.helidon.common.http.HeadersServerRequest
-
Optionally returns a single media type from the given media types that is the best one accepted by the client.
- build() - Method in class io.helidon.common.http.ContentDisposition.Builder
- build() - Method in class io.helidon.common.http.DirectHandler.TransportResponse.Builder
- build() - Method in class io.helidon.common.http.HttpMediaType.Builder
- build() - Method in class io.helidon.common.http.RequestException.Builder
- build() - Method in class io.helidon.common.http.SetCookie.Builder
- builder() - Static method in class io.helidon.common.http.ContentDisposition
-
A new builder to set up content disposition.
- builder() - Static method in class io.helidon.common.http.DirectHandler.TransportResponse
-
A builder to set up a custom response.
- builder() - Static method in interface io.helidon.common.http.HttpMediaType
-
A fluent API builder for creating customized Media type instances.
- builder() - Static method in exception class io.helidon.common.http.RequestException
-
Builder to set up a new HTTP exception.
- builder(String, String) - Static method in class io.helidon.common.http.SetCookie
-
Creates a new fluent API builder.
- bytes() - Method in interface io.helidon.common.http.DataChunk
-
Gets the content of the underlying byte buffers as an array of bytes.
C
- CACHE_CONTROL - Static variable in class io.helidon.common.http.Http.Header
-
The
Cache-Controlheader name. - cause(Throwable) - Method in class io.helidon.common.http.RequestException.Builder
-
Cause of the exception.
- changing() - Method in class io.helidon.common.http.ContentDisposition
- changing() - Method in interface io.helidon.common.http.Http.HeaderValue
-
Changing headers should not be cached, and their value should not be indexed (HTTP/2).
- charset() - Method in interface io.helidon.common.http.HttpMediaType
-
Gets
Optionalvalue of charset parameter. - charset(String) - Method in class io.helidon.common.http.HttpMediaType.Builder
-
Charset parameter to use.
- CHARSET_PARAMETER - Static variable in interface io.helidon.common.http.HttpMediaType
-
The media type "charset" parameter name.
- clear() - Method in interface io.helidon.common.http.HeadersWritable
-
Clear all current headers.
- clearCookie(String) - Method in interface io.helidon.common.http.HeadersServerResponse
-
Clears a cookie by adding a
Set-Cookieheader with an expiration date in the past. - CLIENT_ERROR - Enum constant in enum class io.helidon.common.http.Http.Status.Family
-
4xxHTTP status codes. - code() - Method in class io.helidon.common.http.Http.Status
-
Get the associated integer value representing the status code.
- codeText() - Method in class io.helidon.common.http.Http.Status
-
Text of the
Http.Status.code(). - CONFLICT_409 - Static variable in class io.helidon.common.http.Http.Status
-
409 Conflict, see HTTP/1.1 documentation.
- CONNECTION - Static variable in class io.helidon.common.http.Http.Header
-
The
Connectionheader name. - CONNECTION_CLOSE - Static variable in class io.helidon.common.http.Http.HeaderValues
-
Connection close.
- CONNECTION_KEEP_ALIVE - Static variable in class io.helidon.common.http.Http.HeaderValues
-
Connection keep-alive.
- contains(Http.HeaderName) - Method in interface io.helidon.common.http.Headers
-
Whether these headers contain a header with the provided name.
- contains(Http.HeaderValue) - Method in interface io.helidon.common.http.Headers
-
Whether these headers contain a header with the provided name and value.
- CONTENT_DISPOSITION - Static variable in class io.helidon.common.http.Http.Header
-
The
<code>{@value}</code>header name. - CONTENT_ENCODING - Static variable in class io.helidon.common.http.Http.Header
-
The
Content-Encodingheader name. - CONTENT_LANGUAGE - Static variable in class io.helidon.common.http.Http.Header
-
The
Content-Languageheader name. - CONTENT_LENGTH - Static variable in class io.helidon.common.http.Http.Header
-
The
Content-Lengthheader name. - CONTENT_LENGTH_ZERO - Static variable in class io.helidon.common.http.Http.HeaderValues
-
Content length with 0 value.
- CONTENT_LOCATION - Static variable in class io.helidon.common.http.Http.Header
-
The
Content-Locationheader name. - CONTENT_RANGE - Static variable in class io.helidon.common.http.Http.Header
-
The
Content-Rangeheader name. - CONTENT_TYPE - Static variable in class io.helidon.common.http.Http.Header
-
The
Content-Typeheader name. - CONTENT_TYPE_JSON - Static variable in class io.helidon.common.http.Http.HeaderValues
-
Content type application/json with no charset.
- CONTENT_TYPE_OCTET_STREAM - Static variable in class io.helidon.common.http.Http.HeaderValues
-
Content type octet stream.
- CONTENT_TYPE_TEXT_PLAIN - Static variable in class io.helidon.common.http.Http.HeaderValues
-
Content type text plain with no charset.
- ContentDisposition - Class in io.helidon.common.http
-
A generic representation of the
Content-Dispositionheader. - ContentDisposition.Builder - Class in io.helidon.common.http
-
Fluent API builder for
ContentDisposition. - contentLength() - Method in interface io.helidon.common.http.Headers
-
Content length if defined.
- contentLength(long) - Method in interface io.helidon.common.http.HeadersWritable
-
Content length of the entity in bytes.
- contentName() - Method in class io.helidon.common.http.ContentDisposition
-
Get the value of the
nameparameter. - contentType() - Method in interface io.helidon.common.http.Headers
-
Content type (if defined).
- contentType(HttpMediaType) - Method in interface io.helidon.common.http.HeadersWritable
-
Sets the MIME type of the response body.
- contentType(MediaType) - Method in interface io.helidon.common.http.HeadersWritable
-
Sets the MIME type of the response body.
- CONTINUE_100 - Static variable in class io.helidon.common.http.Http.Status
-
100 Continue, see HTTP/1.1 documentations.
- COOKIE - Static variable in class io.helidon.common.http.Http.Header
-
The
Cookieheader name. - cookies() - Method in interface io.helidon.common.http.HeadersServerRequest
-
Returns cookies (parsed from '
Cookie:' header) based on RFC6265. - create() - Static method in interface io.helidon.common.http.HeadersServerResponse
-
Create a new instance of mutable server response headers.
- create() - Static method in interface io.helidon.common.http.HeadersWritable
-
Create a new instance of writable headers.
- create(boolean, boolean, Runnable, ByteBuffer...) - Static method in interface io.helidon.common.http.DataChunk
-
Creates a reusable byteBuffers chunk.
- create(boolean, boolean, ByteBuffer...) - Static method in interface io.helidon.common.http.DataChunk
-
Creates a reusable data chunk.
- create(boolean, Runnable, ByteBuffer...) - Static method in interface io.helidon.common.http.DataChunk
-
Creates a reusable byteBuffers chunk.
- create(boolean, ByteBuffer...) - Static method in interface io.helidon.common.http.DataChunk
-
Creates a reusable data chunk.
- create(byte[]) - Static method in interface io.helidon.common.http.DataChunk
-
Creates a simple byte array backed data chunk.
- create(int) - Static method in class io.helidon.common.http.Http.Status
-
Convert a numerical status code into the corresponding Status.
- create(int, String) - Static method in class io.helidon.common.http.Http.Status
-
Convert a numerical status code into the corresponding Status.
- create(Headers) - Static method in interface io.helidon.common.http.HeadersClientRequest
-
Create client request headers from headers.
- create(Headers) - Static method in interface io.helidon.common.http.HeadersClientResponse
-
Create a new instance from headers parsed from client response.
- create(Headers) - Static method in interface io.helidon.common.http.HeadersServerRequest
-
Create a new instance from headers.
- create(Headers) - Static method in interface io.helidon.common.http.HeadersServerResponse
-
Create a new instance of mutable server response headers.
- create(Headers) - Static method in interface io.helidon.common.http.HeadersWritable
-
Create a new instance of writable headers from existing headers.
- create(HeadersWritable<?>) - Static method in interface io.helidon.common.http.HeadersClientRequest
-
Create client request headers from writable headers.
- create(Http.HeaderName, boolean, boolean, String...) - Static method in interface io.helidon.common.http.Http.HeaderValue
-
Create a new header.
- create(Http.HeaderName, LazyString) - Static method in interface io.helidon.common.http.Http.HeaderValue
-
Create a new header with a single value.
- create(Http.HeaderName, String) - Static method in interface io.helidon.common.http.Http.HeaderValue
-
Create a new header with a single value.
- create(Http.HeaderName, String...) - Static method in interface io.helidon.common.http.Http.HeaderValue
-
Create a new header.
- create(Http.HeaderName, List<String>) - Static method in interface io.helidon.common.http.Http.HeaderValue
-
Create a new header.
- create(Http.HeaderValue) - Static method in interface io.helidon.common.http.Http.HeaderValueWriteable
-
Create a new mutable header from an existing header.
- create(MediaType) - Static method in interface io.helidon.common.http.HttpMediaType
-
Create a new HTTP media type from media type.
- create(String) - Static method in class io.helidon.common.http.Http.Header
-
Find or create a header name.
- create(String) - Static method in class io.helidon.common.http.Http.Method
-
Create new HTTP request method instance from the provided name.
- create(String) - Static method in enum class io.helidon.common.http.Http.Version
-
Returns HTTP version for provided parameter.
- create(String) - Static method in interface io.helidon.common.http.HttpMediaType
-
Parse media type from the provided string.
- create(String, String) - Static method in class io.helidon.common.http.Http.Header
-
Find or create a header name.
- create(String, String) - Static method in class io.helidon.common.http.SetCookie
-
Creates new instance.
- create(String, String, Http.Method, UriPath, UriQuery, UriFragment) - Static method in class io.helidon.common.http.HttpPrologue
-
Create a new prologue with decoded values.
- create(String, String, Http.Method, String, boolean) - Static method in class io.helidon.common.http.HttpPrologue
-
Create a new prologue.
- create(ByteBuffer) - Static method in interface io.helidon.common.http.DataChunk
-
Creates a simple
ByteBufferbacked data chunk. - create(ByteBuffer...) - Static method in interface io.helidon.common.http.DataChunk
-
Creates a data chunk backed by one or more ByteBuffer.
- createCached(Http.HeaderName, boolean, boolean, String) - Static method in interface io.helidon.common.http.Http.HeaderValue
-
Create and cache byte value.
- createCached(Http.HeaderName, String) - Static method in interface io.helidon.common.http.Http.HeaderValue
-
Create and cache byte value.
- CREATED_201 - Static variable in class io.helidon.common.http.Http.Status
-
201 Created, see HTTP/1.1 documentation.
- createFromLowercase(String) - Static method in class io.helidon.common.http.Http.Header
-
Create a header name from lower case letters.
- creationDate() - Method in class io.helidon.common.http.ContentDisposition
-
Get the value of the
creation-dateparameter that can be used to indicate the date at which the file was created. - creationDate(ZonedDateTime) - Method in class io.helidon.common.http.ContentDisposition.Builder
-
Set the content disposition
creation-dateparameter.
D
- data() - Method in interface io.helidon.common.http.DataChunk
-
Returns a representation of this chunk as an array of ByteBuffer.
- data(Class<T>) - Method in interface io.helidon.common.http.DataChunk
-
Returns a representation of this chunk as an array of T's.
- DataChunk - Interface in io.helidon.common.http
-
The DataChunk represents a part of the HTTP body content.
- date() - Method in interface io.helidon.common.http.HeadersServerRequest
-
Optionally returns request date (
Http.Header.DATEheader). - DATE - Static variable in class io.helidon.common.http.Http.Header
-
The
Dateheader name. - defaultCase() - Method in interface io.helidon.common.http.Http.HeaderName
-
Header name as used in HTTP/1, or "human-readable" value of this header.
- defaultHandler() - Static method in interface io.helidon.common.http.DirectHandler
-
Default handler will HTML encode the message (if any), use the default status code for the event type, and copy all headers configured.
- defaultStatus() - Method in enum class io.helidon.common.http.DirectHandler.EventType
-
Default status of this event type.
- DELETE - Static variable in class io.helidon.common.http.Http.Method
-
The DELETE method requests that the origin server delete the resource identified by the Request-URI.
- DirectHandler - Interface in io.helidon.common.http
-
A handler that is invoked when a response is sent outside of routing.
- DirectHandler.EventType - Enum Class in io.helidon.common.http
-
Types of events that can be triggered outside of router that immediately return a response.
- DirectHandler.TransportRequest - Interface in io.helidon.common.http
-
Request information.
- DirectHandler.TransportResponse - Class in io.helidon.common.http
-
Response to correctly reply to the original client.
- DirectHandler.TransportResponse.Builder - Class in io.helidon.common.http
-
Fluent API builder for
DirectHandler.TransportResponse. - domain(String) - Method in class io.helidon.common.http.SetCookie.Builder
-
Sets
Domainparameter. - domainAndPath(URI) - Method in class io.helidon.common.http.SetCookie.Builder
-
Sets
DomainandPathparameters. - duplicate() - Method in interface io.helidon.common.http.DataChunk
-
Makes a copy of this data chunk including its underlying
ByteBuffer.
E
- empty() - Static method in class io.helidon.common.http.ContentDisposition
-
An empty content disposition.
- empty() - Static method in interface io.helidon.common.http.DirectHandler.TransportRequest
-
Create an empty transport request.
- encode(String) - Static method in class io.helidon.common.http.HtmlEncoder
-
Encode HTML string replacing the special characters by their corresponding entities.
- entity() - Method in class io.helidon.common.http.DirectHandler.TransportResponse
-
Configured message.
- entity(byte[]) - Method in class io.helidon.common.http.DirectHandler.TransportResponse.Builder
-
Custom entity.
- entity(String) - Method in class io.helidon.common.http.DirectHandler.TransportResponse.Builder
-
Custom entity.
- equals(Object) - Method in class io.helidon.common.http.Http.Method
- equals(Object) - Method in class io.helidon.common.http.Http.Status
- equals(Object) - Method in class io.helidon.common.http.HttpPrologue
- ETAG - Static variable in class io.helidon.common.http.Http.Header
-
The
Etagheader name. - eventType() - Method in exception class io.helidon.common.http.RequestException
-
Event type of this exception.
- EXPECT - Static variable in class io.helidon.common.http.Http.Header
-
The
Expectheader name. - EXPECT_100 - Static variable in class io.helidon.common.http.Http.HeaderValues
-
Expect 100 header.
- EXPECTATION_FAILED_417 - Static variable in class io.helidon.common.http.Http.Status
-
417 Expectation Failed, see HTTP/1.1 documentation.
- expires() - Method in interface io.helidon.common.http.HeadersClientResponse
-
Optionally gets the value of
Http.Header.EXPIRESheader. - expires(Instant) - Method in interface io.helidon.common.http.HeadersServerResponse
-
Sets the value of
Http.Header.EXPIRESheader. - expires(Instant) - Method in class io.helidon.common.http.SetCookie.Builder
-
Sets
Expiresparameter. - expires(ZonedDateTime) - Method in interface io.helidon.common.http.HeadersServerResponse
-
Sets the value of
Http.Header.EXPIRESheader. - expires(ZonedDateTime) - Method in class io.helidon.common.http.SetCookie.Builder
-
Sets
Expiresparameter. - EXPIRES - Static variable in class io.helidon.common.http.Http.Header
-
The
Expiresheader name.
F
- family() - Method in class io.helidon.common.http.Http.Status
-
Get the class of status code.
- filename() - Method in class io.helidon.common.http.ContentDisposition
-
Get the value of the
filenameparameter that can be used to suggest a filename to be used if the entity is detached and stored in a separate file. - filename(String) - Method in class io.helidon.common.http.ContentDisposition.Builder
-
Set the content disposition
filenameparameter. - first(Http.HeaderName) - Method in interface io.helidon.common.http.Headers
-
Returns a first header value.
- flush() - Method in interface io.helidon.common.http.DataChunk
-
Returns
trueif all caches are requested to flush when this chunk is written. - FORBIDDEN - Enum constant in enum class io.helidon.common.http.DirectHandler.EventType
-
Forbidden, such as when CORS forbids this request.
- FORBIDDEN_403 - Static variable in class io.helidon.common.http.Http.Status
-
403 Forbidden, see HTTP/1.1 documentation.
- ForbiddenException - Exception Class in io.helidon.common.http
-
A runtime exception indicating a
not found. - ForbiddenException(String) - Constructor for exception class io.helidon.common.http.ForbiddenException
-
Creates
ForbiddenException. - ForbiddenException(String, Throwable) - Constructor for exception class io.helidon.common.http.ForbiddenException
-
Creates
ForbiddenException. - FORWARDED - Static variable in class io.helidon.common.http.Http.Header
-
The
Forwardedheader name. - FOUND_302 - Static variable in class io.helidon.common.http.Http.Status
-
302 Found, see HTTP/1.1 documentation.
- fragment() - Method in class io.helidon.common.http.HttpPrologue
-
Fragment of the request.
- FROM - Static variable in class io.helidon.common.http.Http.Header
-
The
Fromheader name.
G
- GATEWAY_TIMEOUT_504 - Static variable in class io.helidon.common.http.Http.Status
-
504 Gateway Timeout, see HTTP/1.1 documentation.
- get(Http.HeaderName) - Method in interface io.helidon.common.http.Headers
-
Get a header value.
- GET - Static variable in class io.helidon.common.http.Http.Method
-
The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.
- GONE_410 - Static variable in class io.helidon.common.http.Http.Status
-
410 Gone, see HTTP/1.1 documentation.
H
- handle(DirectHandler.TransportRequest, DirectHandler.EventType, Http.Status, HeadersServerResponse, String) - Method in interface io.helidon.common.http.DirectHandler
-
Handler of responses that bypass routing.
- handle(DirectHandler.TransportRequest, DirectHandler.EventType, Http.Status, HeadersServerResponse, Throwable) - Method in interface io.helidon.common.http.DirectHandler
-
Handler of responses that bypass router.
- hashCode() - Method in class io.helidon.common.http.Http.Method
- hashCode() - Method in class io.helidon.common.http.Http.Status
- hashCode() - Method in class io.helidon.common.http.HttpPrologue
- HEAD - Static variable in class io.helidon.common.http.Http.Method
-
The HEAD method is identical to
Http.Method.GETexcept that the server MUST NOT return a message-body in the response. - header(Http.HeaderName, String...) - Method in class io.helidon.common.http.DirectHandler.TransportResponse.Builder
-
Set a header (if exists, it would be replaced).
- header(Http.HeaderValue) - Method in class io.helidon.common.http.DirectHandler.TransportResponse.Builder
-
Set a header (if exists, it would be replaced).
- header(Http.HeaderValue) - Method in class io.helidon.common.http.RequestException.Builder
-
Response header to be added to error response.
- headerName() - Method in class io.helidon.common.http.ContentDisposition
- headerName() - Method in interface io.helidon.common.http.Http.HeaderValue
-
Header name for the header.
- headers() - Method in interface io.helidon.common.http.DirectHandler.TransportRequest
-
Headers, if found in request.
- headers() - Method in class io.helidon.common.http.DirectHandler.TransportResponse
-
Configured headers.
- headers(HeadersServerResponse) - Method in class io.helidon.common.http.DirectHandler.TransportResponse.Builder
-
Set headers.
- Headers - Interface in io.helidon.common.http
-
View of HTTP Headers.
- HeadersClientRequest - Interface in io.helidon.common.http
-
Mutable headers of a client request.
- HeadersClientResponse - Interface in io.helidon.common.http
-
HTTP Headers of a client response.
- HeadersServerRequest - Interface in io.helidon.common.http
-
HTTP headers of a server request.
- HeadersServerResponse - Interface in io.helidon.common.http
-
Mutable headers of a server response.
- HeadersWritable<B extends HeadersWritable<B>> - Interface in io.helidon.common.http
-
HTTP Headers that are mutable.
- HOST - Static variable in class io.helidon.common.http.Http.Header
-
The
Hostheader name. - HtmlEncoder - Class in io.helidon.common.http
-
HTML encoding of special characters to prevent cross site scripting (XSS) attacks.
- Http - Class in io.helidon.common.http
-
HTTP protocol related constants and utilities.
- HTTP_VERSION_NOT_SUPPORTED - Static variable in class io.helidon.common.http.Http.Status
-
505 HTTP Version Not Supported, see HTTP/1.1 documentation.
- Http.DateTime - Class in io.helidon.common.http
-
Support for HTTP date formats based on RFC2616.
- Http.Header - Class in io.helidon.common.http
-
Utility class with a list of names of standard HTTP headers and related tooling methods.
- Http.HeaderName - Interface in io.helidon.common.http
-
HTTP header name.
- Http.HeaderValue - Interface in io.helidon.common.http
-
HTTP Header with
Http.HeaderNameand value. - Http.HeaderValues - Class in io.helidon.common.http
-
Values of commonly used headers.
- Http.HeaderValueWriteable - Interface in io.helidon.common.http
-
Mutable header value.
- Http.Method - Class in io.helidon.common.http
-
Interface representing an HTTP request method, all standard methods are in
Http.Methodenumeration. - Http.MethodPredicate - Interface in io.helidon.common.http
-
HTTP Method predicate.
- Http.Status - Class in io.helidon.common.http
-
Commonly used status codes defined by HTTP, see HTTP/1.1 documentation for the complete list.
- Http.Status.Family - Enum Class in io.helidon.common.http
-
An enumeration representing the class of status code.
- Http.Version - Enum Class in io.helidon.common.http
-
Enumeration of supported HTTP protocol versions.
- http1Bytes() - Static method in class io.helidon.common.http.Http.DateTime
-
Formatted date time terminated by carriage return and new line.
- Http1HeadersParser - Class in io.helidon.common.http
-
Used by both HTTP server and client to parse headers from
DataReader. - HttpException - Exception Class in io.helidon.common.http
-
Runtime exception for applications.
- HttpException(String) - Constructor for exception class io.helidon.common.http.HttpException
-
Creates
HttpExceptionassociated withHttp.Status.INTERNAL_SERVER_ERROR_500. - HttpException(String, Http.Status) - Constructor for exception class io.helidon.common.http.HttpException
-
Creates
HttpException. - HttpException(String, Http.Status, boolean) - Constructor for exception class io.helidon.common.http.HttpException
-
Creates
HttpException. - HttpException(String, Http.Status, Throwable) - Constructor for exception class io.helidon.common.http.HttpException
-
Creates
HttpException. - HttpException(String, Http.Status, Throwable, boolean) - Constructor for exception class io.helidon.common.http.HttpException
-
Creates
HttpException. - HttpException(String, Throwable) - Constructor for exception class io.helidon.common.http.HttpException
-
Creates
HttpExceptionassociated withHttp.Status.INTERNAL_SERVER_ERROR_500. - HttpMediaType - Interface in io.helidon.common.http
-
Media type used in HTTP headers, in addition to the media type definition, these may contain additional parameters, such as
HttpMediaType.QUALITY_FACTOR_PARAMETERandHttpMediaType.CHARSET_PARAMETER. - HttpMediaType.Builder - Class in io.helidon.common.http
-
Fluent API builder for
HttpMediaType. - httpOnly(boolean) - Method in class io.helidon.common.http.SetCookie.Builder
-
Sets
HttpOnlyparameter. - HttpPrologue - Class in io.helidon.common.http
-
A prologue of an HTTP protocol.
- HttpToken - Class in io.helidon.common.http
-
HTTP Token utility.
- HUC_ACCEPT_DEFAULT - Static variable in interface io.helidon.common.http.HeadersServerRequest
-
Header value of the non compliant
Acceptheader sent byHttpURLConnectionwhen none is set. - HUC_ACCEPT_DEFAULT_TYPES - Static variable in interface io.helidon.common.http.HeadersServerRequest
-
Accepted types for
HeadersServerRequest.HUC_ACCEPT_DEFAULT.
I
- I_AM_A_TEAPOT_418 - Static variable in class io.helidon.common.http.Http.Status
-
418 I'm a teapot, see Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0).
- id() - Method in interface io.helidon.common.http.DataChunk
-
The tracing ID of this chunk.
- IF_MATCH - Static variable in class io.helidon.common.http.Http.Header
-
The
If-Matchheader name. - IF_MODIFIED_SINCE - Static variable in class io.helidon.common.http.Http.Header
-
The
If-Modified-Sinceheader name. - IF_NONE_MATCH - Static variable in class io.helidon.common.http.Http.Header
-
The
If-None-Matchheader name. - IF_RANGE - Static variable in class io.helidon.common.http.Http.Header
-
The
If-Rangeheader name. - IF_UNMODIFIED_SINCE - Static variable in class io.helidon.common.http.Http.Header
-
The
If-Unmodified-Sinceheader name. - ifModifiedSince() - Method in interface io.helidon.common.http.HeadersServerRequest
-
Optionally returns a value of
Http.Header.IF_MODIFIED_SINCEheader. - ifUnmodifiedSince() - Method in interface io.helidon.common.http.HeadersServerRequest
-
Optionally returns a value of
Http.Header.IF_UNMODIFIED_SINCEheader. - index() - Method in interface io.helidon.common.http.Http.HeaderName
-
Index of this header (if one of the known indexed headers), or
-1if this is a custom header name. - INFORMATIONAL - Enum constant in enum class io.helidon.common.http.Http.Status.Family
-
1xxHTTP status codes. - INTERNAL_ERROR - Enum constant in enum class io.helidon.common.http.DirectHandler.EventType
-
Internal server error.
- INTERNAL_SERVER_ERROR_500 - Static variable in class io.helidon.common.http.Http.Status
-
500 Internal Server Error, see HTTP/1.1 documentation.
- InternalServerException - Exception Class in io.helidon.common.http
-
A runtime exception indicating a
internal server error. - InternalServerException(String, Throwable) - Constructor for exception class io.helidon.common.http.InternalServerException
-
Creates
InternalServerException. - InternalServerException(String, Throwable, boolean) - Constructor for exception class io.helidon.common.http.InternalServerException
-
Creates
InternalServerException. - io.helidon.common.http - module io.helidon.common.http
-
Helidon Common classes for HTTP server and client.
- io.helidon.common.http - package io.helidon.common.http
-
HTTP APIs and implementations usable by both server and client side of the HTTP story.
- isAccepted(MediaType) - Method in interface io.helidon.common.http.Headers
-
Whether this media type is accepted by these headers.
- isAccepted(MediaType) - Method in interface io.helidon.common.http.HeadersServerRequest
-
Test if the given media type is acceptable as a response for this request.
- isBackedBy(Class<T>) - Method in interface io.helidon.common.http.DataChunk
-
Checks if this instance is backed by buffers of a certain kind.
- isFlushChunk() - Method in interface io.helidon.common.http.DataChunk
-
An empty data chunk with a flush flag can be used to force a connection flush without actually writing any bytes.
- isPseudoHeader() - Method in interface io.helidon.common.http.Http.HeaderName
-
Http2 defines pseudoheaders as headers starting with a
:character. - isReadOnly() - Method in interface io.helidon.common.http.DataChunk
-
Returns
trueif the underlying byte buffer of this chunk is read only orfalseotherwise. - isReleased() - Method in interface io.helidon.common.http.DataChunk
-
Whether this chunk is released and the associated data structures returned by methods (such as
DataChunk.iterator()orDataChunk.bytes()) should not be used. - iterator() - Method in interface io.helidon.common.http.DataChunk
J
- JSON_EVENT_STREAM_PREDICATE - Static variable in interface io.helidon.common.http.HttpMediaType
-
Predicate to test if
MediaTypeistext/event-streamwithout any parameter or with parameter "element-type". - JSON_PREDICATE - Static variable in interface io.helidon.common.http.HttpMediaType
- JSON_UTF_8 - Static variable in interface io.helidon.common.http.HttpMediaType
-
application/json media type with UTF-8 charset.
K
- keepAlive() - Method in enum class io.helidon.common.http.DirectHandler.EventType
-
Whether keep alive should be maintained for this event type.
- keepAlive() - Method in class io.helidon.common.http.DirectHandler.TransportResponse
-
Whether the connection should use keep alive.
- keepAlive() - Method in exception class io.helidon.common.http.HttpException
-
Whether we should attempt to keep the connection alive (if enabled for it).
- keepAlive() - Method in exception class io.helidon.common.http.RequestException
-
Whether to attempt to keep connection alive.
- keepAlive(boolean) - Method in class io.helidon.common.http.DirectHandler.TransportResponse.Builder
-
Configure keep alive.
L
- LAST_MODIFIED - Static variable in class io.helidon.common.http.Http.Header
-
The
Last-Modifiedheader name. - lastModified() - Method in interface io.helidon.common.http.HeadersClientResponse
-
Optionally gets the value of
Http.Header.LAST_MODIFIEDheader. - lastModified(Instant) - Method in interface io.helidon.common.http.HeadersServerResponse
-
Sets the value of
Http.Header.LAST_MODIFIEDheader. - lastModified(ZonedDateTime) - Method in interface io.helidon.common.http.HeadersServerResponse
-
Sets the value of
Http.Header.LAST_MODIFIEDheader. - LAX - Enum constant in enum class io.helidon.common.http.SetCookie.SameSite
-
Cookies are not sent on normal cross-site subrequests (for example to load images or frames into a third party site) , but are sent when a user is navigating to the origin site (i.e., when following a link).
- length() - Method in class io.helidon.common.http.Http.Method
-
Number of characters.
- LENGTH_REQUIRED_411 - Static variable in class io.helidon.common.http.Http.Status
-
411 Length Required, see HTTP/1.1 documentation.
- LINK - Static variable in class io.helidon.common.http.Http.Header
-
The
Linkheader name. - location() - Method in interface io.helidon.common.http.HeadersClientResponse
-
Optionally gets the value of
Http.Header.LOCATIONheader. - location(URI) - Method in interface io.helidon.common.http.HeadersServerResponse
-
Sets the value of
Http.Header.LOCATIONheader. - LOCATION - Static variable in class io.helidon.common.http.Http.Header
-
The
Locationheader name. - lowerCase() - Method in interface io.helidon.common.http.Http.HeaderName
-
Lowercase value of this header, used by HTTP/2, may be used for lookup by HTTP/1.
M
- MAX_FORWARDS - Static variable in class io.helidon.common.http.Http.Header
-
The
Max-Forwardsheader name. - maxAge(Duration) - Method in class io.helidon.common.http.SetCookie.Builder
-
Sets
Max-Ageparameter. - mediaType() - Method in interface io.helidon.common.http.HttpMediaType
-
The underlying media type.
- mediaType(MediaType) - Method in class io.helidon.common.http.HttpMediaType.Builder
-
Media type to use.
- message(String) - Method in class io.helidon.common.http.RequestException.Builder
-
Descriptive error message.
- method() - Method in interface io.helidon.common.http.DirectHandler.TransportRequest
-
HTTP method.
- method() - Method in class io.helidon.common.http.HttpPrologue
-
HTTP method of this request.
- METHOD_NOT_ALLOWED_405 - Static variable in class io.helidon.common.http.Http.Status
-
405 Method Not Allowed, see HTTP/1.1 documentation.
- modificationDate() - Method in class io.helidon.common.http.ContentDisposition
-
Get the value of the
modification-dateparameter that can be used to indicate the date at which the file was last modified. - modificationDate(ZonedDateTime) - Method in class io.helidon.common.http.ContentDisposition.Builder
-
Set the content disposition
modification-dateparameter. - MOVED_PERMANENTLY_301 - Static variable in class io.helidon.common.http.Http.Status
-
301 Moved Permanently, see HTTP/1.1 documentation.
N
- name() - Method in class io.helidon.common.http.ContentDisposition
- name() - Method in interface io.helidon.common.http.Http.HeaderValue
-
Name of the header as configured by user or as received on the wire.
- name() - Method in class io.helidon.common.http.Http.Method
-
Deprecated.use
Http.Method.text()instead, this method conflicts with enum - name() - Method in class io.helidon.common.http.SetCookie
-
Gets cookie's name.
- name(String) - Method in class io.helidon.common.http.ContentDisposition.Builder
-
Set the content disposition
nameparameter. - NO_CONTENT_204 - Static variable in class io.helidon.common.http.Http.Status
-
204 No Content, see HTTP/1.1 documentation.
- NONE - Enum constant in enum class io.helidon.common.http.SetCookie.SameSite
-
Cookies will be sent in all contexts, i.e.
- NOT_ACCEPTABLE_406 - Static variable in class io.helidon.common.http.Http.Status
-
406 Not Acceptable, see HTTP/1.1 documentation.
- NOT_FOUND_404 - Static variable in class io.helidon.common.http.Http.Status
-
404 Not Found, see HTTP/1.1 documentation.
- NOT_IMPLEMENTED_501 - Static variable in class io.helidon.common.http.Http.Status
-
501 Not Implemented, see HTTP/1.1 documentation.
- NOT_MODIFIED_304 - Static variable in class io.helidon.common.http.Http.Status
-
304 Not Modified, see HTTP/1.1 documentation.
- NotFoundException - Exception Class in io.helidon.common.http
-
A runtime exception indicating a
not found. - NotFoundException(String) - Constructor for exception class io.helidon.common.http.NotFoundException
-
Creates
NotFoundException. - NotFoundException(String, Throwable) - Constructor for exception class io.helidon.common.http.NotFoundException
-
Creates
NotFoundException.
O
- of(int) - Static method in enum class io.helidon.common.http.Http.Status.Family
-
Get the family for the response status code.
- OK_200 - Static variable in class io.helidon.common.http.Http.Status
-
200 OK, see HTTP/1.1 documentation.
- OPTIONS - Static variable in class io.helidon.common.http.Http.Method
-
The OPTIONS method represents a request for information about the communication options available on the request/response chain identified by the Request-URI.
- ORIGIN - Static variable in class io.helidon.common.http.Http.Header
-
The
<code>{@value}</code>header name. - OTHER - Enum constant in enum class io.helidon.common.http.DirectHandler.EventType
-
Other type, please specify expected status code.
- OTHER - Enum constant in enum class io.helidon.common.http.Http.Status.Family
-
Other, unrecognized HTTP status codes.
P
- parameter(String, String) - Method in class io.helidon.common.http.ContentDisposition.Builder
-
Add a new content disposition header parameter.
- parameters() - Method in class io.helidon.common.http.ContentDisposition
-
Get the parameters map.
- parameters() - Method in interface io.helidon.common.http.HttpMediaType
-
Read-only parameter map.
- parameters(Map<String, String>) - Method in class io.helidon.common.http.HttpMediaType.Builder
-
Parameters of the media type.
- parse(String) - Static method in class io.helidon.common.http.ContentDisposition
-
Parse a received header value.
- parse(String) - Static method in class io.helidon.common.http.Http.DateTime
-
Parse provided text to
ZonedDateTimeusing any possible date / time format specified by RFC2616 Hypertext Transfer Protocol. - parse(String) - Static method in class io.helidon.common.http.SetCookie
-
Parses new instance of
SetCookiefrom the String representation. - PARTIAL_CONTENT_206 - Static variable in class io.helidon.common.http.Http.Status
-
206 Reset Content, see HTTP/1.1 documentation.
- PATCH - Static variable in class io.helidon.common.http.Http.Method
-
The PATCH method as described in RFC 5789 is used to perform an update to an existing resource, where the request payload only has to contain the instructions on how to perform the update.
- path() - Method in interface io.helidon.common.http.DirectHandler.TransportRequest
-
Requested path, if found in request.
- path(String) - Method in class io.helidon.common.http.SetCookie.Builder
-
Sets
Pathparameter. - PAYLOAD_TOO_LARGE - Enum constant in enum class io.helidon.common.http.DirectHandler.EventType
-
Payload is bigger than the configured maximal size.
- PAYMENT_REQUIRED_402 - Static variable in class io.helidon.common.http.Http.Status
-
402 Payment Required, see HTTP/1.1 documentation.
- PLAINTEXT_UTF_8 - Static variable in interface io.helidon.common.http.HttpMediaType
-
text/plain media type with UTF-8 charset.
- POST - Static variable in class io.helidon.common.http.Http.Method
-
The POST method is used to request that the origin server acceptedTypes the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line.
- PRAGMA - Static variable in class io.helidon.common.http.Http.Header
-
The
Pragmaheader name. - PRECONDITION_FAILED_412 - Static variable in class io.helidon.common.http.Http.Status
-
412 Precondition Failed, see HTTP/1.1 documentation.
- predicate(Http.Method...) - Static method in class io.helidon.common.http.Http.Method
-
Create a predicate for the provided methods.
- predicate(Collection<Http.Method>) - Static method in class io.helidon.common.http.Http.Method
-
Create a predicate for the provided methods.
- protocol() - Method in class io.helidon.common.http.HttpPrologue
-
Protocol name, should be
HTTPin most cases. - protocolVersion() - Method in interface io.helidon.common.http.DirectHandler.TransportRequest
-
Protocol version (either from actual request, or guessed).
- protocolVersion() - Method in class io.helidon.common.http.HttpPrologue
-
HTTP protocol version of this request.
- PROXY_AUTHENTICATE - Static variable in class io.helidon.common.http.Http.Header
-
The
Proxy-Authenticateheader name. - PROXY_AUTHENTICATION_REQUIRED_407 - Static variable in class io.helidon.common.http.Http.Status
-
407 Proxy Authentication Required, see HTTP/1.1 documentation.
- PROXY_AUTHORIZATION - Static variable in class io.helidon.common.http.Http.Header
-
The
Proxy-Authorizationheader name. - PUBLIC_KEY_PINS - Static variable in class io.helidon.common.http.Http.Header
-
The
Public-Key-Pinsheader name. - PUT - Static variable in class io.helidon.common.http.Http.Method
-
The PUT method requests that the enclosed entity be stored under the supplied Request-URI.
Q
- q(double) - Method in class io.helidon.common.http.HttpMediaType.Builder
-
Quality factor parameter to use.
- QUALITY_FACTOR_PARAMETER - Static variable in interface io.helidon.common.http.HttpMediaType
-
The media type quality factor "q" parameter name.
- qualityFactor() - Method in interface io.helidon.common.http.HttpMediaType
-
Quality factor, if not defined, defaults to 1.
- query() - Method in class io.helidon.common.http.HttpPrologue
-
Query of the request.
R
- RANGE - Static variable in class io.helidon.common.http.Http.Header
-
The
Rangeheader name. - readDate() - Method in class io.helidon.common.http.ContentDisposition
-
Get the value of the
modification-dateparameter that can be used to indicate the date at which the file was last read. - readDate(ZonedDateTime) - Method in class io.helidon.common.http.ContentDisposition.Builder
-
Set the content disposition
read-dateparameter. - readHeaders(DataReader, int, boolean) - Static method in class io.helidon.common.http.Http1HeadersParser
-
Read headers from the provided reader.
- reasonPhrase() - Method in class io.helidon.common.http.Http.Status
-
Get the reason phrase.
- REDIRECTION - Enum constant in enum class io.helidon.common.http.Http.Status.Family
-
3xxHTTP status codes. - referer() - Method in interface io.helidon.common.http.HeadersServerRequest
-
Optionally returns the address of the previous web page (header
Http.Header.REFERER) from which a link to the currently requested page was followed. - REFERER - Static variable in class io.helidon.common.http.Http.Header
-
The
<code>{@value}</code>header name. - REFRESH - Static variable in class io.helidon.common.http.Http.Header
-
The
<code>{@value}</code>header name. - release() - Method in interface io.helidon.common.http.DataChunk
-
Releases this chunk.
- remaining() - Method in interface io.helidon.common.http.DataChunk
-
Returns the sum of elements between the current position and the limit of each of the underlying ByteBuffer.
- remove(Http.HeaderName) - Method in interface io.helidon.common.http.HeadersWritable
-
Remove a header.
- remove(Http.HeaderName, Consumer<Http.HeaderValue>) - Method in interface io.helidon.common.http.HeadersWritable
-
Remove a header.
- request() - Method in exception class io.helidon.common.http.RequestException
-
Transport request with as much information as is available.
- request(DirectHandler.TransportRequest) - Method in class io.helidon.common.http.RequestException.Builder
-
Transport request with as much information as is available.
- REQUEST_ENTITY_TOO_LARGE_413 - Static variable in class io.helidon.common.http.Http.Status
-
413 Request Entity Too Large, see HTTP/1.1 documentation.
- REQUEST_TIMEOUT_408 - Static variable in class io.helidon.common.http.Http.Status
-
408 Request Timeout, see HTTP/1.1 documentation.
- REQUEST_URI_TOO_LONG_414 - Static variable in class io.helidon.common.http.Http.Status
-
414 Request-URI Too Long, see HTTP/1.1 documentation.
- REQUESTED_RANGE_NOT_SATISFIABLE_416 - Static variable in class io.helidon.common.http.Http.Status
-
416 Requested Range Not Satisfiable, see HTTP/1.1 documentation.
- RequestException - Exception Class in io.helidon.common.http
-
Exception that will be handled by
DirectHandler, unless server request and server response are already available, in which case it would be handled by appropriate error handler of routing. - RequestException(RequestException.Builder) - Constructor for exception class io.helidon.common.http.RequestException
-
A new exception with a predefined status, even type.
- RequestException.Builder - Class in io.helidon.common.http
-
Fluent API builder for
RequestException. - RESET_CONTENT_205 - Static variable in class io.helidon.common.http.Http.Status
-
205 Reset Content, see HTTP/1.1 documentation.
- responseHeaders() - Method in exception class io.helidon.common.http.RequestException
-
Response headers that should be added to response.
- RETRY_AFTER - Static variable in class io.helidon.common.http.Http.Header
-
The
<code>{@value}</code>header name. - RFC_1123_DATE_TIME - Static variable in class io.helidon.common.http.Http.DateTime
-
The RFC1123 date-time formatter, such as
'Tue, 3 Jun 2008 11:05:30 GMT'. - RFC_850_DATE_TIME - Static variable in class io.helidon.common.http.Http.DateTime
-
The RFC850 date-time formatter, such as
'Sunday, 06-Nov-94 08:49:37 GMT'. - rfc1123String() - Static method in class io.helidon.common.http.Http.DateTime
-
Get current time as RFC-1123 string.
S
- sameSite(SetCookie.SameSite) - Method in class io.helidon.common.http.SetCookie.Builder
-
The
SameSitecookie parameter. - secure(boolean) - Method in class io.helidon.common.http.SetCookie.Builder
-
Sets
Secureparameter. - SEE_OTHER_303 - Static variable in class io.helidon.common.http.Http.Status
-
303 See Other, see HTTP/1.1 documentation.
- sensitive() - Method in class io.helidon.common.http.ContentDisposition
- sensitive() - Method in interface io.helidon.common.http.Http.HeaderValue
-
Sensitive headers should not be logged, or indexed (HTTP/2).
- SERVER - Static variable in class io.helidon.common.http.Http.Header
-
The
Serverheader name. - SERVER_ERROR - Enum constant in enum class io.helidon.common.http.Http.Status.Family
-
5xxHTTP status codes. - SERVICE_UNAVAILABLE_503 - Static variable in class io.helidon.common.http.Http.Status
-
503 Service Unavailable, see HTTP/1.1 documentation.
- set(Http.HeaderName, String...) - Method in interface io.helidon.common.http.HeadersWritable
-
Set a header and replace it if it already existed.
- set(Http.HeaderName, List<String>) - Method in interface io.helidon.common.http.HeadersWritable
-
Set a header and replace it if it already existed.
- set(Http.HeaderValue) - Method in interface io.helidon.common.http.HeadersWritable
-
Set a header and replace it if it already existed.
- SET_COOKIE - Static variable in class io.helidon.common.http.Http.Header
-
The
Set-Cookieheader name. - SET_COOKIE2 - Static variable in class io.helidon.common.http.Http.Header
-
The
Set-Cookie2header name. - SetCookie - Class in io.helidon.common.http
-
Represents
'Set-Cookie'header value specified by RFC6265. - SetCookie.Builder - Class in io.helidon.common.http
-
A fluent API builder for
SetCookie. - SetCookie.SameSite - Enum Class in io.helidon.common.http
-
The SameSite attribute of the Set-Cookie HTTP response header allows you to declare if your cookie should be restricted to a first-party or same-site context.
- setIfAbsent(Http.HeaderValue) - Method in interface io.helidon.common.http.HeadersWritable
-
Set a value of a header unless it is already present.
- setKeepAlive(boolean) - Method in class io.helidon.common.http.RequestException.Builder
-
Override default keep alive for this exception.
- size() - Method in class io.helidon.common.http.ContentDisposition
-
Get the value of the
sizeparameter that can be used to indicate an approximate size of the file in octets. - size() - Method in interface io.helidon.common.http.Headers
-
Number of headers in these headers.
- size(long) - Method in class io.helidon.common.http.ContentDisposition.Builder
-
Set the content disposition
sizeparameter. - status() - Method in class io.helidon.common.http.DirectHandler.TransportResponse
-
Configured status.
- status() - Method in exception class io.helidon.common.http.HttpException
-
Obtain the associated http status.
- status() - Method in exception class io.helidon.common.http.RequestException
-
Configured HTTP status.
- status(Http.Status) - Method in class io.helidon.common.http.DirectHandler.TransportResponse.Builder
-
Custom status.
- status(Http.Status) - Method in class io.helidon.common.http.RequestException.Builder
-
Http status to use.
- STRICT - Enum constant in enum class io.helidon.common.http.SetCookie.SameSite
-
Cookies will only be sent in a first-party context and not be sent along with requests initiated by third party websites.
- STRICT_TRANSPORT_SECURITY - Static variable in class io.helidon.common.http.Http.Header
-
The
Strict-Transport-Securityheader name. - subtype() - Method in interface io.helidon.common.http.HttpMediaType
- SUCCESSFUL - Enum constant in enum class io.helidon.common.http.Http.Status.Family
-
2xxHTTP status codes. - SWITCHING_PROTOCOLS_101 - Static variable in class io.helidon.common.http.Http.Status
-
101 Switching Protocols, see HTTP/1.1 documentations.
T
- TE - Static variable in class io.helidon.common.http.Http.Header
-
The
<code>{@value}</code>header name. - TEMPORARY_REDIRECT_307 - Static variable in class io.helidon.common.http.Http.Status
-
307 Temporary Redirect, see HTTP/1.1 documentation.
- test(HttpMediaType) - Method in interface io.helidon.common.http.HttpMediaType
-
Check if this media type is compatible with another media type.
- test(MediaType) - Method in interface io.helidon.common.http.HttpMediaType
-
Check if this media type is compatible with another media type.
- text() - Method in class io.helidon.common.http.Http.Method
-
Name of the method (such as
GETorPOST). - text() - Method in class io.helidon.common.http.Http.Status
-
Text of the status as used in HTTP/1, such as "200 OK".
- text() - Method in interface io.helidon.common.http.HttpMediaType
-
Text of this media type, to be used on the wire.
- text() - Method in enum class io.helidon.common.http.SetCookie.SameSite
-
Text to write to the same site cookie param.
- text() - Method in class io.helidon.common.http.SetCookie
-
Text representation of this cookie.
- TEXT_PLAIN - Static variable in interface io.helidon.common.http.HttpMediaType
-
text/plainmedia type without parameters. - toMap() - Method in interface io.helidon.common.http.Headers
-
Deprecated, for removal: This API element is subject to removal in a future version.use other methods to handle headers, preferably using pull approach
- toString() - Method in class io.helidon.common.http.ContentDisposition
- toString() - Method in class io.helidon.common.http.Http.Method
- toString() - Method in class io.helidon.common.http.Http.Status
-
Get the response status as string.
- toString() - Method in class io.helidon.common.http.HttpPrologue
- toString() - Method in class io.helidon.common.http.SetCookie
-
Returns content of this instance as a 'Set-Cookie:' header value specified by RFC6265.
- TRACE - Static variable in class io.helidon.common.http.Http.Method
-
The TRACE method is used to invoke a remote, application-layer loop- back of the request message.
- TRAILER - Static variable in class io.helidon.common.http.Http.Header
-
The
Trailerheader name. - TRANSFER_ENCODING - Static variable in class io.helidon.common.http.Http.Header
-
The
Transfer-Encodingheader name. - TRANSFER_ENCODING_CHUNKED - Static variable in class io.helidon.common.http.Http.HeaderValues
-
Chunked transfer encoding.
- TSV - Static variable in class io.helidon.common.http.Http.Header
-
The
Tsvheader name. - type() - Method in class io.helidon.common.http.ContentDisposition
-
Content disposition type.
- type() - Method in interface io.helidon.common.http.HttpMediaType
- type(DirectHandler.EventType) - Method in class io.helidon.common.http.RequestException.Builder
-
Event type of this exception.
- type(String) - Method in class io.helidon.common.http.ContentDisposition.Builder
-
Set the content disposition type.
- TYPE_FORM_DATA - Static variable in class io.helidon.common.http.ContentDisposition.Builder
-
The form-data content disposition used by
MediaTypes.MULTIPART_FORM_DATA.
U
- UNAUTHORIZED_401 - Static variable in class io.helidon.common.http.Http.Status
-
401 Unauthorized, see HTTP/1.1 documentation.
- UNSUPPORTED_MEDIA_TYPE_415 - Static variable in class io.helidon.common.http.Http.Status
-
415 Unsupported Media Type, see HTTP/1.1 documentation.
- UPGRADE - Static variable in class io.helidon.common.http.Http.Header
-
The
Upgradeheader name. - uriPath() - Method in class io.helidon.common.http.HttpPrologue
-
Path or the request.
- USE_PROXY_305 - Static variable in class io.helidon.common.http.Http.Status
-
305 Use Proxy, see HTTP/1.1 documentation.
- USER_AGENT - Static variable in class io.helidon.common.http.Http.Header
-
The
User-Agentheader name.
V
- V1_0 - Enum constant in enum class io.helidon.common.http.Http.Version
-
HTTP version
HTTP/1.0. - V1_1 - Enum constant in enum class io.helidon.common.http.Http.Version
-
HTTP version
HTTP/1.1. - V2_0 - Enum constant in enum class io.helidon.common.http.Http.Version
-
HTTP version
HTTP/2.0. - validate(String) - Static method in class io.helidon.common.http.HttpToken
-
Validate if this is a good HTTP token.
- value() - Method in class io.helidon.common.http.ContentDisposition
- value() - Method in interface io.helidon.common.http.Http.HeaderValue
-
First value of this header.
- value() - Method in enum class io.helidon.common.http.Http.Version
-
Returns
Stringrepresentation of thisHttp.Version. - value(Http.HeaderName) - Method in interface io.helidon.common.http.Headers
- value(Class<T>) - Method in class io.helidon.common.http.ContentDisposition
- value(Class<T>) - Method in interface io.helidon.common.http.Http.HeaderValue
-
Value mapped using a
MapperManager. - valueBytes() - Method in interface io.helidon.common.http.Http.HeaderValue
-
Cached bytes of a single valued header's value.
- valueCount() - Method in class io.helidon.common.http.ContentDisposition
- valueCount() - Method in interface io.helidon.common.http.Http.HeaderValue
-
Number of values this header has.
- valueOf(String) - Static method in enum class io.helidon.common.http.DirectHandler.EventType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.helidon.common.http.Http.Status.Family
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.helidon.common.http.Http.Version
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.helidon.common.http.SetCookie.SameSite
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.helidon.common.http.DirectHandler.EventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in interface io.helidon.common.http.Http.HeaderValue
-
All values concatenated using a comma.
- values() - Static method in enum class io.helidon.common.http.Http.Status.Family
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.helidon.common.http.Http.Version
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.helidon.common.http.SetCookie.SameSite
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values(Http.HeaderName) - Method in interface io.helidon.common.http.Headers
-
Returns an unmodifiable
Listof all comma separated header value parts - Such segmentation is NOT valid for all header semantics, however it is very common. - VARY - Static variable in class io.helidon.common.http.Http.Header
-
The
Varyheader name. - VIA - Static variable in class io.helidon.common.http.Http.Header
-
The
Viaheader name.
W
- WARNING - Static variable in class io.helidon.common.http.Http.Header
-
The
Warningheader name. - withCharset(String) - Method in interface io.helidon.common.http.HttpMediaType
-
Create a new
HttpMediaTypeinstance with the same type, subtype and parameters copied from the original instance and the supplied "charset" parameter. - withParameter(String, String) - Method in interface io.helidon.common.http.HttpMediaType
-
Create a new
HttpMediaTypeinstance with the same type, subtype and parameters copied from the original instance and the supplied custom parameter. - withValue(boolean, boolean, String) - Method in interface io.helidon.common.http.Http.HeaderName
-
Create a new header with this name and the provided value.
- withValue(boolean, boolean, String...) - Method in interface io.helidon.common.http.Http.HeaderName
-
Create a new header with this name and the provided value.
- withValue(int) - Method in interface io.helidon.common.http.Http.HeaderName
-
Create a new header with this name and the provided value.
- withValue(String) - Method in interface io.helidon.common.http.Http.HeaderName
-
Create a new header with this name and the provided value.
- withValue(String...) - Method in interface io.helidon.common.http.Http.HeaderName
-
Create a new header with this name and the provided value.
- writeFuture() - Method in interface io.helidon.common.http.DataChunk
-
Returns a write future associated with this chunk.
- writeFuture(CompletableFuture<DataChunk>) - Method in interface io.helidon.common.http.DataChunk
-
Set a write future that will complete when data chunk has been written to a connection.
- writeHttp1Header(BufferData) - Method in interface io.helidon.common.http.Http.HeaderValue
-
Write the current header as an HTTP header to the provided buffer.
- WWW_AUTHENTICATE - Static variable in class io.helidon.common.http.Http.Header
-
The
WWW-Authenticateheader name.
X
- X_HELIDON_CN - Static variable in class io.helidon.common.http.Http.Header
-
The
X_HELIDON_CNheader name.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Headers.all(io.helidon.common.http.Http.HeaderName, java.util.function.Supplier)instead