public interface HttpClientRequestAdapter
HttpClientPropagator
.Modifier and Type | Method | Description |
---|---|---|
void |
addHeader(String name,
String value) |
Add a header to the request
|
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.
|
String |
getMethod() |
Returns the HTTP method of the request.
|
Optional<String> |
getPath() |
Returns the path requested.
|
String getMethod()
Optional<String> getPath()
Optional.empty()
if the path is undefinedint getContentLength()
Optional<String> getFirstHeader(String name)
name
- the header nameOptional.empty()
if noneCopyright © 2019–2020 Honeycomb. All rights reserved.