public interface HttpRequest extends Request
| Modifier and Type | Method and Description |
|---|---|
String |
header(String name) |
String |
method() |
String |
path() |
default String |
remoteIp() |
default int |
remotePort() |
default String |
route()
Returns an expression such as "/items/:itemId" representing an application
endpoint, conventionally associated with the tag key "http.route".
|
String |
url() |
headerNames, spanKind, unwrapString method()
@Nullable String path()
null if not set.@Nullable default String route()
null indicates this instrumentation
doesn't understand http routes.null if not set.@Nullable String url()
null if not set.@Nullable String header(String name)
name - header namenull if not set.default String remoteIp()
default int remotePort()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.