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