public class GrizzlyResponseWrapper extends InternalResponse<Object>
| Constructor and Description |
|---|
GrizzlyResponseWrapper(org.glassfish.grizzly.http.server.Response response) |
| Modifier and Type | Method and Description |
|---|---|
Map<HeaderName,String> |
getHeaders() |
OutputStream |
getOutputStream() |
HttpStatus |
getStatus() |
Response<Object> |
header(HeaderName name,
String value) |
Response<Object> |
status(HttpStatus status) |
entity, getEntitypublic GrizzlyResponseWrapper(org.glassfish.grizzly.http.server.Response response)
public OutputStream getOutputStream()
getOutputStream in class InternalResponse<Object>public Map<HeaderName,String> getHeaders()
getHeaders in class InternalResponse<Object>public HttpStatus getStatus()
getStatus in class InternalResponse<Object>public Response<Object> header(HeaderName name, String value)
public Response<Object> status(HttpStatus status)
Copyright © 2015. All rights reserved.