public interface BareRequest
| Modifier and Type | Method and Description |
|---|---|
Flow.Publisher<DataChunk> |
bodyPublisher()
Gets the Flow Publisher that allows a subscription for request body chunks.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getHeaders()
Gets http request headers.
|
java.lang.String |
getLocalAddress()
Gets the Internet Protocol (IP) address of the interface on which the request was received.
|
int |
getLocalPort()
Returns the Internet Protocol (IP) port number of the interface on which the request was received.
|
Http.RequestMethod |
getMethod()
Gets an HTTP request method.
|
java.lang.String |
getRemoteAddress()
Gets the Internet Protocol (IP) address of the client or last proxy that sent the request.
|
int |
getRemotePort()
Returns the Internet Protocol (IP) source port of the client or last proxy that sent the request.
|
java.net.URI |
getUri()
Gets a Request-URI (or alternatively path) as defined in request line.
|
Http.Version |
getVersion()
Gets an HTTP version from the request line such as
HTTP/1.1. |
WebServer |
getWebServer()
Gets actual
WebServer instance. |
boolean |
isSecure()
Gets an indicating whether this request was made using a secure channel, such as HTTPS.
|
long |
requestId()
A unique correlation ID that is associated with this request and its associated response.
|
WebServer getWebServer()
WebServer instance.WebServer instance.Http.RequestMethod getMethod()
Http.Version getVersion()
HTTP/1.1.java.net.URI getUri()
java.lang.String getLocalAddress()
int getLocalPort()
java.lang.String getRemoteAddress()
int getRemotePort()
boolean isSecure()
true if the request was made using a secure channel.java.util.Map<java.lang.String,java.util.List<java.lang.String>> getHeaders()
Flow.Publisher<DataChunk> bodyPublisher()
long requestId()
Copyright © 2018–2019 Oracle Corporation. All rights reserved.