Package com.linecorp.armeria.server
@NonNullByDefault
package com.linecorp.armeria.server
Server core.
Starting points
-
InterfaceDescriptionA functional interface that enables building a
SimpleDecoratingHttpService
withHttpService.decorate(DecoratingHttpServiceFunction)
.A functional interface that enables building aSimpleDecoratingRpcService
withRpcService.decorate(DecoratingRpcServiceFunction)
.Converts aThrowable
to anAggregatedHttpResponse
.An HTTP/2Service
.An interface that enables getting all theRoute
s where anHttpService
should be bound.Route
maps from an incoming HTTP request to anHttpService
based on its path, method, content type and accepted types.Router<V>Finds a mapping that matches a givenRoutingContext
.Holds the parameters which are required to find a service available to handle the request.An RPCService
.An interface that enables getting all theRoute
s where anRpcService
should be bound.A Server that allows ability to reconfigure its service endpoints without having to restart the server.Listens to life cycle events of aServer
.Generates the default name of aService
from itsServiceRequestContext
.Provides information about an invocation and related utilities.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
. -
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.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.DefaultServiceRequestContext
implementation.An interface to provide source and destination addresses delivered from a proxy server.AnHttpService
that sends a redirect response such as"307 Temporary Redirect"
.Builds a newRoute
.Routed<T>A value mapped byRouter
.A factory that creates aRouter
instance.The result returned byRoute.apply(RoutingContext, boolean)
.Builds a newRoutingResult
.Listens toServerPort
s and delegates client requests toService
s.Builds a newServer
and itsServerConfig
.Server
configuration.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.Builds a newServiceRequestContext
.Wraps an existingServiceRequestContext
.AnHttpService
that decorates anotherHttpService
.AnRpcService
that decorates anotherRpcService
.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. -
Enum ClassDescriptionThe type of the path which was specified when a
Route
is created.The type ofRoutingResult
.Specifies which features should be enabled for aTransientService
. -
ExceptionDescriptionA
RuntimeException
that is raised to send an HTTP response with the content specified by a user.ARuntimeException
that is raised to send a simplistic HTTP response with minimal content by aService
.ACancellationException
raised when a request is cancelled by the user.ATimeoutException
raised when a request has not been received from a client within timeout.