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.
|
Map<String,List<String>> |
headers()
Gets http request headers.
|
boolean |
isSecure()
Gets an indicating whether this request was made using a secure channel, such as HTTPS.
|
String |
localAddress()
Gets the Internet Protocol (IP) address of the interface on which the request was received.
|
int |
localPort()
Returns the Internet Protocol (IP) port number of the interface on which the request was received.
|
Http.RequestMethod |
method()
Gets an HTTP request method.
|
String |
remoteAddress()
Gets the Internet Protocol (IP) address of the client or last proxy that sent the request.
|
int |
remotePort()
Returns the Internet Protocol (IP) source port of the client or last proxy that sent the request.
|
long |
requestId()
A unique correlation ID that is associated with this request and its associated response.
|
URI |
uri()
Gets a Request-URI (or alternatively path) as defined in request line.
|
Http.Version |
version()
Gets an HTTP version from the request line such as
HTTP/1.1. |
WebServer |
webServer()
Gets actual
WebServer instance. |
Http.RequestMethod method()
Http.Version version()
HTTP/1.1.URI uri()
String localAddress()
int localPort()
String remoteAddress()
int remotePort()
boolean isSecure()
true if the request was made using a secure channel.Map<String,List<String>> headers()
Flow.Publisher<DataChunk> bodyPublisher()
long requestId()
Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.