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