| Package | Description |
|---|---|
| org.osgl.mvc.result |
| Modifier and Type | Field and Description |
|---|---|
static Unauthorized |
Unauthorized.INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static Unauthorized |
Unauthorized.get()
Returns the
static Unauthorized instance |
static Unauthorized |
Unauthorized.of(String realm)
Returns a static Unauthorized instance and set the
Result.payload thread local
with realm and type
When calling the instance on realm() and type() method, it will return whatever
stored in the Result.payload thread local |
Copyright © 2017. All Rights Reserved.