| Package | Description |
|---|---|
| com.linecorp.armeria.server |
Server core.
|
| Modifier and Type | Method and Description |
|---|---|
HttpStatusException |
RoutingContext.deferredStatusException()
Returns a deferred
HttpStatusException which was previously set via
RoutingContext.deferStatusException(HttpStatusException). |
static HttpStatusException |
HttpStatusException.of(HttpStatus status)
Returns a new
HttpStatusException instance with the specified HttpStatus. |
static HttpStatusException |
HttpStatusException.of(HttpStatus status,
Throwable cause)
|
static HttpStatusException |
HttpStatusException.of(int statusCode)
Returns a new
HttpStatusException instance with the specified HTTP status code. |
static HttpStatusException |
HttpStatusException.of(int statusCode,
Throwable cause)
Returns a new
HttpStatusException instance with the specified HTTP status code and cause. |
| Modifier and Type | Method and Description |
|---|---|
void |
RoutingContext.deferStatusException(HttpStatusException cause)
Defers throwing an
HttpStatusException until reaching the end of the service list. |
Copyright © 2020 LeanCloud. All rights reserved.