| Package | Description |
|---|---|
| org.osgl.mvc.result |
| Modifier and Type | Field and Description |
|---|---|
static Forbidden |
Forbidden.INSTANCE
The static instance of Forbidden result.
|
| Modifier and Type | Method and Description |
|---|---|
static Forbidden |
Forbidden.get()
Returns a static Forbidden instance and set the
Result.payload thread local
with default message. |
static Forbidden |
Forbidden.of(int errorCode)
Returns a static Forbidden instance and set the
Result.payload thread local
with default message. |
static Forbidden |
Forbidden.of(int errorCode,
String message,
Object... args)
Returns a static Forbidden instance and set the
Result.payload thread local
with message specified. |
static Forbidden |
Forbidden.of(int errorCode,
Throwable cause,
String message,
Object... args)
Returns a static Forbidden instance and set the
Result.payload thread local
with message specified. |
static Forbidden |
Forbidden.of(String message,
Object... args)
Returns a static Forbidden instance and set the
Result.payload thread local
with message specified. |
static Forbidden |
Forbidden.of(Throwable cause)
Returns a static Forbidden instance and set the
Result.payload thread local
with message specified. |
static Forbidden |
Forbidden.of(Throwable cause,
int errorCode)
Returns a static Forbidden instance and set the
Result.payload thread local
with default message. |
static Forbidden |
Forbidden.of(Throwable cause,
int errorCode,
String message,
Object... args)
Returns a static Forbidden instance and set the
Result.payload thread local
with message specified. |
static Forbidden |
Forbidden.of(Throwable cause,
String message,
Object... args)
Returns a static Forbidden instance and set the
Result.payload thread local
with message specified. |
Copyright © 2017. All Rights Reserved.