| Interface | Description |
|---|---|
| AcceptPredicate<T> |
API to model HTTP content negotiation using
Accept-* request headers. |
| Builder<T> |
This Builder should be implemented by all the builders in order to enable
seamless exchange between the builder itself and the objects it's
building when calling the methods.
|
| ContextualRegistry |
A registry for context objects.
|
| ErrorHandler<T extends java.lang.Throwable> |
The routing error handler.
|
| Handler |
The
ServerRequest and ServerResponse handler. |
| Handler.EntityHandler<T> | |
| Headers |
Extends
Parameters interface by adding methods convenient for HTTP headers. |
| Http.RequestMethod |
Interface representing an HTTP request method, all standard methods are in
Http.Method enumeration. |
| Http.ResponseStatus |
Base interface for status codes used in HTTP responses.
|
| Parameters |
Parameters represents
key : value pairs where key is a String with potentially multiple values. |
| PathMatcher |
URI Path Matcher.
|
| PathMatcher.PrefixResult |
The result of prefix matching a
PathMatcher to a given URI path. |
| PathMatcher.Result |
The result of matching a
PathMatcher to a given URI path. |
| RequestChunk |
The RequestChunk represents a part of the HTTP request body content.
|
| RequestHeaders |
Extends
Parameters interface by adding HTTP request headers oriented convenient methods. |
| RequestPredicate |
Fluent API to define complex request conditions.
|
| ResponseHeaders |
Extends
Parameters interface by adding HTTP response headers oriented constants and convenient methods. |
| Routing |
Routing represents composition of HTTP request-response handlers with routing rules.
|
| Routing.Rules<T extends Routing.Rules> |
An API to define HTTP request routing rules.
|
| ServerConfiguration |
Immutable
WebServer configuration. |
| ServerRequest |
Represents HTTP Request and provides WebServer related API.
|
| ServerRequest.Content |
Represents an HTTP request content as a
publisher of RequestChunks with specific
features. |
| ServerRequest.Path |
Represents requested normalised URI path processed by
PathMatcher. |
| ServerRequest.Reader<R> |
The Reader transforms a byte buffer publisher into a completion stage of the associated type.
|
| ServerResponse |
Represents HTTP Response.
|
| Service |
Encapsulates a set of
routing rules and related logic. |
| SocketConfiguration |
The SocketConfiguration configures a port to listen on and its associated server socket parameters.
|
| WebServer |
Represents a immutably configured WEB server.
|
| Class | Description |
|---|---|
| ContentReaders |
The ContentReaders.
|
| ContentWriters |
A utility class for various handy response content writers.
|
| Http |
HTTP protocol related constants and utilities.
|
| Http.DateTime |
Support for HTTP date formats based on RFC2616.
|
| Http.Header |
Utility class with a list of names of standard HTTP headers and related tooling methods.
|
| MediaType |
An abstraction for a media type.
|
| PublisherInputStream |
An
subscriber that can subscribe to a source of ByteBuffer data chunks and then make
them available for consumption via standard blocking InputStream API. |
| ReadableByteChannelPublisher |
Publish a channel content to a single
subscriber. |
| ReadOnlyParameters |
An immutable implementation of
Parameters. |
| RequestPredicate.ConditionalHandler |
A
Handler which executes provided logic only if provided condition is satisfied. |
| ResponseChunk |
Represents a single chunk of response data.
|
| ResponseHeaders.SetCookie |
Represents
'Set-Cookie' header value specified by RFC6265 and
use in method ResponseHeaders.addCookie(SetCookie). |
| Routing.Builder |
A
Routing builder. |
| ServerConfiguration.Builder |
A
ServerConfiguration builder. |
| SocketConfiguration.Builder |
The
SocketConfiguration builder class. |
| SSLContextBuilder |
Builder for configuring a new SslContext for creation.
|
| StaticContentSupport | |
| StaticContentSupport.Builder |
Fluent builder of the StaticContent detailed parameters.
|
| StringContentReader |
The StringContentReader provides means to convert a
ByteBuffer publisher to
a single string while using a given charset. |
| WebServer.Builder |
WebServer builder class provides a convenient way to set up WebServer with multiple server
sockets and optional multiple routings.
|
| Enum | Description |
|---|---|
| Http.Method |
Enumeration of all standard HTTP
methods. |
| Http.ResponseStatus.Family |
An enumeration representing the class of status code.
|
| Http.Status |
Commonly used status codes defined by HTTP, see
HTTP/1.1 documentation
for the complete list.
|
| Http.Version |
Enumeration of supported HTTP protocol versions.
|
| Exception | Description |
|---|---|
| AlreadyCompletedException |
Signals that a method has been invoked on already completed
ServerResponse or ResponseHeaders. |
| BadRequestException |
A runtime exception indicating a
bad request. |
| ConnectionClosedException |
The ConnectionClosedException indicates that a connection was closed and
it's not possible to send more data.
|
| HttpException |
Runtime exception for applications.
|
| IllegalPathPatternException |
Cannot parse path pattern.
|
| NotFoundException |
A runtime exception indicating a
not found. |
| SocketClosedException |
Signals that socket was closed before server request it.
|
| UnsupportedBodyTypeException |
Cannot marshal requested type.
|
Copyright © 2018 Oracle Corporation. All rights reserved.