BeelineServletFilter.HttpServerRequestAdapter
public interface HttpServerRequestAdapter
HttpServerPropagator
.Modifier and Type | Method | Description |
---|---|---|
int |
getContentLength() |
Return the length in bytes of the request body.
|
Optional<String> |
getFirstHeader(String name) |
Return the first header value for the header name.
|
Optional<String> |
getHost() |
Return the host in the request.
|
String |
getHttpVersion() |
Returns the name and version of the HTTP protocol.
|
String |
getMethod() |
Returns the HTTP method of the request.
|
Optional<String> |
getPath() |
Returns the path requested.
|
Map<String,List<String>> |
getQueryParams() |
Return the map of query parameters.
|
String |
getRemoteAddress() |
Returns the IP address of the client (or final proxy) that sent the request.
|
Optional<String> |
getScheme() |
Return the URI scheme used in the request.
|
boolean |
isSecure() |
Indicates whether this request used a secure channel, e.g.
|
String getMethod()
Optional<String> getPath()
Optional.empty()
if the path is undefinedOptional<String> getFirstHeader(String name)
name
- the header nameOptional.empty()
if noneOptional<String> getScheme()
Optional.empty()
if not available.Optional<String> getHost()
Optional.empty()
if not available.String getHttpVersion()
boolean isSecure()
String getRemoteAddress()
Map<String,List<String>> getQueryParams()
int getContentLength()
Copyright © 2019–2020 Honeycomb. All rights reserved.