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