public class HttpServletResponseWrapper extends Object implements HttpServerResponse
HttpServletResponse methods, taking care to portably handle
statusCode().| Modifier and Type | Method and Description |
|---|---|
static HttpServerResponse |
create(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Throwable caught)
Returns the trace representation of a response.
|
Throwable |
error() |
Collection<String> |
headerNames() |
HttpServletRequestWrapper |
request() |
int |
statusCode() |
Object |
unwrap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitspanKindheader, method, routepublic static HttpServerResponse create(@Nullable javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @Nullable Throwable caught)
caught - an exception caught serving the request.public Collection<String> headerNames()
headerNames in interface Response@Nullable public HttpServletRequestWrapper request()
request in interface HttpResponserequest in interface HttpServerResponserequest in interface Responsepublic Throwable error()
error in interface HttpServerResponseerror in interface Responsepublic int statusCode()
statusCode in interface HttpResponseCopyright © 2023 Pivotal Software, Inc.. All rights reserved.