Package com.linecorp.armeria.server
@NonNullByDefault
package com.linecorp.armeria.server
Server core.
Starting points
-
ClassDescriptionA skeletal
HttpService
for easier HTTP service implementation.A builder class for binding anHttpService
fluently.A source which is used to get a client address.A functional interface that enables building aSimpleDecoratingHttpService
withHttpService.decorate(DecoratingHttpServiceFunction)
.A functional interface that enables building aSimpleDecoratingRpcService
withRpcService.decorate(DecoratingRpcServiceFunction)
.DecoratingService<T_I extends Request,T_O extends Response, R_I extends Request, R_O extends Response> A builder class for binding adecorator
withRoute
fluently.ARuntimeException
that is raised to send an HTTP response with the content specified by a user.An HTTP/2Service
.An interface that enables getting all theRoute
s where anHttpService
should be bound.ARuntimeException
that is raised to send a simplistic HTTP response with minimal content by aService
.An interface to provide source and destination addresses delivered from a proxy server.AnHttpService
that sends a redirect response such as"307 Temporary Redirect"
.ACancellationException
raised when a request is cancelled by the user.ATimeoutException
raised when a request has not been received from a client within timeout.Route
maps from an incoming HTTP request to anHttpService
based on its path, method, content type and accepted types.Builds a newRoute
.Routed<T>A value mapped byRouter
.The type of the path which was specified when aRoute
is created.Router<V>Finds a mapping that matches a givenRoutingContext
.Holds the parameters which are required to find a service available to handle the request.The result returned byRoute.apply(RoutingContext, boolean)
.Builds a newRoutingResult
.The type ofRoutingResult
.A routing status of an incoming HTTP request.An RPCService
.An interface that enables getting all theRoute
s where anRpcService
should be bound.Listens toServerPort
s and delegates client requests toService
s.Builds a newServer
and itsServerConfig
.Server
configuration.A Server that allows ability to reconfigure its service endpoints without having to restart the server.Provides the error responses in case of unexpected exceptions or protocol errors.Listens to life cycle events of aServer
.A skeletalServerListener
implementation in order for a user to implement only the methods what he or she really needs.Builds a newServerListener
.A pair of server-side bind address andSessionProtocol
.A builder class for binding anHttpService
fluently.A helper class that invokes the callback methods inService
.AnHttpService
configuration.Provides the error responses in case of unexpected exceptions.Generates the default name of aService
from itsServiceRequestContext
.Provides information about an invocation and related utilities.Builds a newServiceRequestContext
.Wraps an existingServiceRequestContext
.AnHttpService
that decorates anotherHttpService
.AnRpcService
that decorates anotherRpcService
.AnHttpService
that handles transient requests, for example, health check requests.AnRpcService
that handles transient requests, for example, health check requests.AService
that handles transient requests, for example, health check requests.Builds aTransientService
.Specifies which features should be enabled for aTransientService
.A builder class for binding anHttpService
to a virtual host fluently.Builds a newVirtualHost
.A builder class for binding adecorator
to aRoute
fluently.A builder class for binding anHttpService
fluently.