Package com.linecorp.armeria.server
Server core.
Starting points
-
Interface Summary Interface Description DecoratingServiceFunction<I extends Request,O extends Response> A functional interface that enables building aSimpleDecoratingService
withService.decorate(DecoratingServiceFunction)
.HttpService An HTTP/2Service
.RejectedRouteHandler RequestTimeoutChangeListener A listener that is notified when request timeout setting is changed.Route Router<V> Finds a mapping that matches a givenRoutingContext
.RoutingContext Holds the parameters which are required to find a service available to handle the request.RpcService An RPCService
.ServerListener Listens to life cycle events of aServer
.Service<I extends Request,O extends Response> ServiceRequestContext Provides information about an invocation and related utilities.ServiceWithRoutes<I extends Request,O extends Response> TransientService<I extends Request,O extends Response> AService
that handles transient requests, for example, health check requests. -
Class Summary Class Description AbstractHttpService A skeletalHttpService
for easier HTTP service implementation.ClientAddressSource A source which is used to get a client address.DecoratingService<T_I extends Request,T_O extends Response,R_I extends Request,R_O extends Response> DefaultServiceRequestContext DefaultServiceRequestContext
implementation.ProxiedAddresses An interface to provide source and destination addresses delivered from a proxy server.RedirectService AnHttpService
that sends a redirect response such as"307 Temporary Redirect"
.RouteBuilder Builds a newRoute
.Routed<T> A value mapped byRouter
.Routers A factory that creates aRouter
instance.RoutingResult The result returned byRoute.apply(RoutingContext)
.RoutingResultBuilder Builds a newRoutingResult
.Server Listens toServerPort
s and delegates client requests toService
s.ServerBuilder Builds a newServer
and itsServerConfig
.ServerConfig Server
configuration.ServerListenerAdapter A skeletalServerListener
implementation in order for a user to implement only the methods what he or she really needs.ServerListenerBuilder Builds a newServerListener
.ServerPort A pair of server-side bind address andSessionProtocol
.ServiceBindingBuilder A builder class for binding aService
fluently.ServiceCallbackInvoker A helper class that invokes the callback methods inService
.ServiceConfig AService
configuration.ServiceRequestContextBuilder Builds a newServiceRequestContext
.ServiceRequestContextWrapper Wraps an existingServiceRequestContext
.SimpleDecoratingHttpService AnHttpService
that decorates anotherHttpService
.SimpleDecoratingRpcService AnRpcService
that decorates anotherRpcService
.SimpleDecoratingService<I extends Request,O extends Response> VirtualHost VirtualHostBuilder Builds a newVirtualHost
.VirtualHostServiceBindingBuilder A builder class for binding aService
fluently. -
Enum Summary Enum Description RoutePathType The type of the path which was specified when aRoute
is created. -
Exception Summary Exception Description HttpResponseException ARuntimeException
that is raised to send an HTTP response with the content specified by a user.HttpStatusException ARuntimeException
that is raised to send a simplistic HTTP response with minimal content by aService
.RequestTimeoutException ATimeoutException
raised when a request has not been received from a client within timeout.