Interface | Description |
---|---|
DecoratingServiceFunction<I extends Request,O extends Response> |
A functional interface that enables building a
SimpleDecoratingService with
Service.decorate(DecoratingServiceFunction) . |
HttpService |
An HTTP/2
Service . |
PathMapping |
Matches the absolute path part of a URI and extracts path parameters from it.
|
PathMappingContext |
Holds the parameters which are required to find a service available to handle the request.
|
RequestTimeoutChangeListener |
A listener that is notified when request timeout
setting is changed.
|
Router<V> |
Finds a mapping that matches a given
PathMappingContext . |
ServerListener |
Listens to life cycle events of a
Server . |
Service<I extends Request,O extends Response> | |
ServiceRequestContext |
Provides information about an invocation and related utilities.
|
ServiceWithPathMappings<I extends Request,O extends Response> |
An interface that enables getting all the
PathMapping where a Service should be bound. |
Class | Description |
---|---|
AbstractHttpService |
A skeletal
HttpService for easier HTTP service implementation. |
AbstractPathMapping |
A skeletal
PathMapping implementation. |
ChainedVirtualHostBuilder |
Builds a new
VirtualHost . |
DecoratingService<T_I extends Request,T_O extends Response,R_I extends Request,R_O extends Response> | |
DefaultServiceRequestContext |
Default
ServiceRequestContext implementation. |
GracefulShutdownSupport |
Keeps track of pending requests to allow shutdown to happen after a fixed quiet period passes
after the last pending request.
|
PathMapped<T> |
A value mapped by
Router . |
PathMappingResult |
The result returned by
PathMapping.apply(PathMappingContext) . |
RedirectService |
An
HttpService that implements an HTTP redirection. |
Routers |
A factory that creates a
Router instance. |
Server |
Listens to
ServerPort s and delegates client requests to Service s. |
ServerBuilder |
Builds a new
Server and its ServerConfig . |
ServerConfig |
Server configuration. |
ServerListenerAdapter |
A skeletal
ServerListener implementation to minimize the effort to implement this interface. |
ServerListenerBuilder |
Builds a new
ServerListener . |
ServerPort |
A pair of server-side bind address and
SessionProtocol . |
ServiceCallbackInvoker |
A helper class that invokes the callback methods in
Service . |
ServiceConfig | |
ServiceRequestContextWrapper |
Wraps an existing
ServiceRequestContext . |
SimpleDecoratingService<I extends Request,O extends Response> | |
VirtualHost | |
VirtualHostBuilder |
Builds a new
VirtualHost . |
Exception | Description |
---|---|
HttpResponseException |
A
RuntimeException that is raised to send an HTTP response with the content specified
by a user. |
HttpStatusException |
A
RuntimeException that is raised to send a simplistic HTTP response with minimal content
by a Service . |
RequestTimeoutException |
A
TimeoutException raised when a request has not been received from a client within timeout. |
© Copyright 2015–2018 LINE Corporation. All rights reserved.