| Package | Description |
|---|---|
| org.osgl.http | |
| org.osgl.http.servlet | |
| org.osgl.http.util |
| Modifier and Type | Class and Description |
|---|---|
static class |
H.Request<T extends H.Request>
Defines the HTTP request trait
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends H.Request> |
H.Request.current()
Return a request instance of the current execution context, For example from a
ThreadLocal |
static <T extends H.Request> |
H.Request.current(T request)
Set a request instance into the current execution context, for example into a
ThreadLocal |
| Modifier and Type | Method and Description |
|---|---|
H.Request |
CurrentStateStore.request()
Get current request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CurrentStateStore.request(H.Request req)
Store request as current state.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ServletRequest |
| Modifier and Type | Method and Description |
|---|---|
H.Request |
DefaultCurrentStateStore.request() |
| Modifier and Type | Method and Description |
|---|---|
static String |
Path.fullUrl(String path,
H.Request req)
Returns the full url form of a url path which starts with scheme.
|
void |
DefaultCurrentStateStore.request(H.Request req) |
static String |
Path.url(String path,
H.Request req)
Returns normalized form of URL path.
|
Copyright © 2017–2020 OSGL (Open Source General Library). All rights reserved.