public interface HttpInfos
Modifier and Type | Method and Description |
---|---|
Map<CharSequence,Set<Cookie>> |
cookies()
Returns resolved HTTP cookies
|
String |
fullPath()
Returns the decoded path portion from the
uri() |
boolean |
isKeepAlive()
Is the request keep alive
|
boolean |
isWebsocket()
Returns true if websocket connection (upgraded)
|
HttpMethod |
method()
Returns the resolved request method (HTTP 1.1 etc)
|
default String |
path()
Returns the decoded path portion from the
uri() without the leading and trailing '/' if present |
String |
requestId()
Return an unique id for the request.
|
String |
uri()
Returns the resolved target address
|
HttpVersion |
version()
Returns the resolved request version (HTTP 1.1 etc)
|
Map<CharSequence,Set<Cookie>> cookies()
String fullPath()
uri()
uri()
String requestId()
Format of the id:
<CONNECTION_ID>-<REQUEST_NUMBER>
Example:
<CONNECTION_ID>: 329c6ffd
<REQUEST_NUMBER>: 5
Result: 329c6ffd-5
boolean isKeepAlive()
boolean isWebsocket()
HttpMethod method()
default String path()
uri()
without the leading and trailing '/' if presenturi()
without the leading and trailing '/' if presentString uri()
HttpVersion version()