public class HttpServletRequestWrapper extends Object implements HttpServerRequest
HttpServletRequest methods, this also parses the remote
IP of the client.| Modifier and Type | Method and Description |
|---|---|
static HttpServerRequest |
create(javax.servlet.http.HttpServletRequest request)
Wraps the request in a tracing representation.
|
String |
header(String name) |
Collection<String> |
headerNames() |
String |
method() |
String |
path() |
String |
route() |
Object |
unwrap() |
String |
url() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttribute, setAttribute, spanKindremoteIp, remotePortpublic static HttpServerRequest create(javax.servlet.http.HttpServletRequest request)
request - http requestpublic Collection<String> headerNames()
headerNames in interface Requestpublic String method()
method in interface HttpRequestpublic String route()
route in interface HttpRequestpublic String path()
path in interface HttpRequestpublic String url()
url in interface HttpRequestpublic String header(String name)
header in interface HttpRequestCopyright © 2022 Pivotal Software, Inc.. All rights reserved.