| Package | Description |
|---|---|
| org.osgl.mvc.result |
| Modifier and Type | Field and Description |
|---|---|
static Conflict |
Conflict.INSTANCE
The static instance of Conflict result.
|
| 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 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 message 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 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 message specified. |
static Conflict |
Conflict.of(Throwable cause,
String message,
Object... args)
Returns a static Conflict instance and set the
Result.payload thread local
with message specified. |
Copyright © 2017. All Rights Reserved.