| Package | Description |
|---|---|
| org.swisspush.gateleen.core.util |
| Modifier and Type | Method and Description |
|---|---|
static StatusCode |
StatusCode.fromCode(int code)
Returns the enum StatusCode which matches the specified http status code.
|
StatusCode |
ResourceCollectionException.getStatusCode() |
static StatusCode |
StatusCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusCode[] |
StatusCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ResponseStatusCodeLogUtil.debug(io.vertx.core.http.HttpServerRequest request,
StatusCode statusCode,
Class<?> caller)
Logs a debug message with the provided status code and request information
|
static void |
ResponseStatusCodeLogUtil.info(io.vertx.core.http.HttpServerRequest request,
StatusCode statusCode,
Class<?> caller)
Logs an info message with the provided status code and request information
|
| Constructor and Description |
|---|
ResourceCollectionException(StatusCode statusCode) |
ResourceCollectionException(String message,
StatusCode statusCode) |
Copyright © 2016–2017. All rights reserved.