| Package | Description |
|---|---|
| com.linecorp.armeria.server |
Server core.
|
| Modifier and Type | Field and Description |
|---|---|
static RejectedRouteHandler |
RejectedRouteHandler.DISABLED
A
RejectedRouteHandler that does nothing for a problematic Route. |
static RejectedRouteHandler |
RejectedRouteHandler.FAIL
|
static RejectedRouteHandler |
RejectedRouteHandler.WARN
A
RejectedRouteHandler that logs a warning message for a problematic Route. |
| 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. |
VirtualHostBuilder |
VirtualHostBuilder.rejectedRouteHandler(RejectedRouteHandler handler)
Sets the
RejectedRouteHandler which will be invoked when an attempt to bind
an HttpService at a certain Route is rejected. |
ServerBuilder |
ServerBuilder.rejectedRouteHandler(RejectedRouteHandler handler)
Sets the
RejectedRouteHandler which will be invoked when an attempt to bind
an HttpService at a certain Route is rejected. |
Copyright © 2020 LeanCloud. All rights reserved.