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