| Package | Description |
|---|---|
| com.linecorp.armeria.internal.server.annotation |
Various classes used internally.
|
| com.linecorp.armeria.server |
Server core.
|
| com.linecorp.armeria.server.composition |
Service composition.
|
| com.linecorp.armeria.server.docs |
Documentation service.
|
| com.linecorp.armeria.server.file |
HTTP static file service.
|
| com.linecorp.armeria.server.healthcheck |
HTTP health check service for load balancers.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceSpecification |
AnnotatedDocServicePlugin.generateSpecification(Set<ServiceConfig> serviceConfigs,
DocServiceFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
Routed<ServiceConfig> |
VirtualHost.findServiceConfig(RoutingContext routingCtx)
|
Routed<ServiceConfig> |
VirtualHost.findServiceConfig(RoutingContext routingCtx,
boolean useFallbackService)
|
static Router<ServiceConfig> |
Routers.ofVirtualHost(VirtualHost virtualHost,
Iterable<ServiceConfig> configs,
RejectedRouteHandler rejectionHandler)
Returns the default implementation of the
Router to find a ServiceConfig. |
List<ServiceConfig> |
VirtualHost.serviceConfigs()
Returns the information about the
HttpServices bound to this virtual host. |
List<ServiceConfig> |
ServerConfig.serviceConfigs()
Returns the information of all available
HttpServices in the Server. |
List<ServiceConfig> |
Server.serviceConfigs()
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ServiceCallbackInvoker.invokeServiceAdded(ServiceConfig cfg,
Service<?,?> service)
Invokes
Service.serviceAdded(ServiceConfig). |
default void |
Service.serviceAdded(ServiceConfig cfg)
Invoked when this service has been added to a
Server with the specified
configuration. |
void |
RedirectService.serviceAdded(ServiceConfig cfg) |
void |
DecoratingService.serviceAdded(ServiceConfig cfg) |
| Modifier and Type | Method and Description |
|---|---|
static Router<ServiceConfig> |
Routers.ofVirtualHost(VirtualHost virtualHost,
Iterable<ServiceConfig> configs,
RejectedRouteHandler rejectionHandler)
Returns the default implementation of the
Router to find a ServiceConfig. |
| Constructor and Description |
|---|
DefaultServiceRequestContext(ServiceConfig cfg,
io.netty.channel.Channel ch,
MeterRegistry meterRegistry,
SessionProtocol sessionProtocol,
RequestId id,
RoutingContext routingContext,
RoutingResult routingResult,
HttpRequest req,
SSLSession sslSession,
ProxiedAddresses proxiedAddresses,
InetAddress clientAddress,
long requestStartTimeNanos,
long requestStartTimeMicros)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractCompositeService.serviceAdded(ServiceConfig cfg) |
| Modifier and Type | Method and Description |
|---|---|
void |
DocService.serviceAdded(ServiceConfig cfg) |
| Modifier and Type | Method and Description |
|---|---|
ServiceSpecification |
DocServicePlugin.generateSpecification(Set<ServiceConfig> serviceConfigs,
DocServiceFilter filter)
Generates a new
ServiceSpecification that provides the information about the supported
Services. |
default Map<String,String> |
DocServicePlugin.loadDocStrings(Set<ServiceConfig> serviceConfigs)
Loads the documentation strings that describes services and their methods, enums and their values and
structs/exceptions and their fields.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FileService.serviceAdded(ServiceConfig cfg) |
| Modifier and Type | Method and Description |
|---|---|
void |
HttpHealthCheckService.serviceAdded(ServiceConfig cfg)
Deprecated.
|
void |
HealthCheckService.serviceAdded(ServiceConfig cfg) |
Copyright © 2020 LeanCloud. All rights reserved.