public interface GenericContainerResponse
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.MediaType |
getContentType() |
Object |
getEntity() |
Type |
getEntityType() |
javax.ws.rs.core.MultivaluedMap<String,Object> |
getHttpHeaders() |
javax.ws.rs.core.Response |
getResponse()
Get preset
Response. |
int |
getStatus() |
void |
setResponse(javax.ws.rs.core.Response response)
Set response.
|
void |
writeResponse()
Write response to output stream.
|
void setResponse(javax.ws.rs.core.Response response)
response - See Responsejavax.ws.rs.core.Response getResponse()
Response. This method can be useful for modification
GenericContainerResponse. See
ResponseFilter.doFilter(GenericContainerResponse).Response or null if it was not initialized yet.void writeResponse()
throws IOException
IOException - if any i/o errors occursint getStatus()
javax.ws.rs.core.MultivaluedMap<String,Object> getHttpHeaders()
Object getEntity()
Type getEntityType()
javax.ws.rs.core.MediaType getContentType()
Copyright © 2012–2016 Codenvy, S.A.. All rights reserved.