Deprecated
scheduled for removal in 1.4.0
Abstract response type used for parsing and sampling. Represents an HTTP response.
| Modifier and Type | Method and Description |
|---|---|
| public default String | |
| public default String | |
| public default HttpRequest | request()
Implements io.
Deprecated
as a consequence of
Returns the HTTP request.
HttpRequest being deprecated.
|
| public default String | Returns: an HTTP route ornull if not setReturns an expression such as "/items/:itemId" representing an application endpoint, conventionally associated with the tag key "http.route". |
| public int |
| header | back to summary |
|---|---|
| public default String header(String header) Returns the header value. | |
| method | back to summary |
|---|---|
| public default String method() Returns an HTTP method. | |
| request | back to summary |
|---|---|
| public default HttpRequest request() Implements io. Doc from io. Deprecated as a consequence of Returns the HTTP request.
| |
| route | back to summary |
|---|---|
| public default String route() Returns an expression such as "/items/:itemId" representing an application
endpoint, conventionally associated with the tag key "http.route". If no route
matched, "" (empty string) is returned. | |
| statusCode | back to summary |
|---|---|
| public int statusCode() Returns the HTTP status code.
| |