public interface HttpResponse
| Modifier and Type | Method and Description |
|---|---|
void |
addNewCookie(javax.ws.rs.core.NewCookie cookie) |
javax.ws.rs.core.MultivaluedMap<String,Object> |
getOutputHeaders() |
OutputStream |
getOutputStream() |
int |
getStatus() |
boolean |
isCommitted() |
void |
reset()
reset status and headers.
|
void |
sendError(int status) |
void |
sendError(int status,
String message) |
void |
setOutputStream(OutputStream os) |
void |
setStatus(int status) |
int getStatus()
void setStatus(int status)
OutputStream getOutputStream() throws IOException
IOExceptionvoid setOutputStream(OutputStream os)
void addNewCookie(javax.ws.rs.core.NewCookie cookie)
void sendError(int status)
throws IOException
IOExceptionvoid sendError(int status,
String message)
throws IOException
IOExceptionboolean isCommitted()
void reset()
Copyright © 2015 JBoss by Red Hat. All rights reserved.