Package com.linecorp.armeria.server
@NonNullByDefault
package com.linecorp.armeria.server
Server core.
Starting points
-
ClassDescriptionA skeletal
HttpServicefor easier HTTP service implementation.A builder class for binding anHttpServicefluently.A source which is used to get a client address.A functional interface that enables building aSimpleDecoratingHttpServicewithHttpService.decorate(DecoratingHttpServiceFunction).A functional interface that enables building aSimpleDecoratingRpcServicewithRpcService.decorate(DecoratingRpcServiceFunction).DecoratingService<T_I extends Request,T_O extends Response, R_I extends Request, R_O extends Response> A builder class for binding adecoratorwithRoutefluently.ARuntimeExceptionthat is raised to send an HTTP response with the content specified by a user.An HTTP/2Service.An interface that enables getting all theRoutes where anHttpServiceshould be bound.ARuntimeExceptionthat 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.AnHttpServicethat sends a redirect response such as"307 Temporary Redirect".ACancellationExceptionraised when a request is cancelled by the user.ATimeoutExceptionraised when a request has not been received from a client within timeout.Routemaps from an incoming HTTP request to anHttpServicebased 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 aRouteis created.Router<V>Finds a mapping that matches a givenRoutingContext.A factory that creates aRouterinstance.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 theRoutes where anRpcServiceshould be bound.Listens toServerPorts and delegates client requests toServices.Builds a newServerand itsServerConfig.Serverconfiguration.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 skeletalServerListenerimplementation 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 anHttpServicefluently.A helper class that invokes the callback methods inService.AnHttpServiceconfiguration.Provides the error responses in case of unexpected exceptions.Generates the default name of aServicefrom itsServiceRequestContext.Provides information about an invocation and related utilities.Builds a newServiceRequestContext.Wraps an existingServiceRequestContext.AnHttpServicethat decorates anotherHttpService.AnRpcServicethat decorates anotherRpcService.AnHttpServicethat handles transient requests, for example, health check requests.AnRpcServicethat handles transient requests, for example, health check requests.AServicethat handles transient requests, for example, health check requests.Builds aTransientService.Specifies which features should be enabled for aTransientService.A builder class for binding anHttpServiceto a virtual host fluently.Builds a newVirtualHost.A builder class for binding adecoratorto aRoutefluently.A builder class for binding anHttpServicefluently.