| Package | Description |
|---|---|
| org.osgl.mvc.result |
| Modifier and Type | Method and Description |
|---|---|
static RequestTimeout |
RequestTimeout.get()
Returns a static RequestTimeout instance and set the
Result.payload thread local with default message. |
static RequestTimeout |
RequestTimeout.of(int errorCode)
Returns a static RequestTimeout instance and set the
Result.payload thread local with error code and default message. |
static RequestTimeout |
RequestTimeout.of(int errorCode,
String message,
Object... args)
Returns a static RequestTimeout instance and set the
Result.payload thread local with error code and message specified. |
static RequestTimeout |
RequestTimeout.of(int errorCode,
Throwable cause)
Returns a static RequestTimeout instance and set the
Result.payload thread local with error code and cause specified |
static RequestTimeout |
RequestTimeout.of(int errorCode,
Throwable cause,
String message,
Object... args)
Returns a static RequestTimeout instance and set the
Result.payload thread local with error code, cause and message specified. |
static RequestTimeout |
RequestTimeout.of(String message,
Object... args)
Returns a static RequestTimeout instance and set the
Result.payload thread local with message specified. |
static RequestTimeout |
RequestTimeout.of(Throwable cause)
Returns a static RequestTimeout instance and set the
Result.payload thread local with cause specified. |
static RequestTimeout |
RequestTimeout.of(Throwable cause,
String message,
Object... args)
Returns a static RequestTimeout instance and set the
Result.payload thread local with cause and message specified. |
Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.