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