public interface HttpResponse
Modifier and Type | Method and Description |
---|---|
void |
addNewCookie(NewCookie cookie) |
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 |
setStatus(int status) |
int getStatus()
void setStatus(int status)
MultivaluedMap<String,Object> getOutputHeaders()
OutputStream getOutputStream() throws IOException
IOException
void addNewCookie(NewCookie cookie)
void sendError(int status) throws IOException
IOException
void sendError(int status, String message) throws IOException
IOException
boolean isCommitted()
void reset()
Copyright © 2018 JBoss by Red Hat. All rights reserved.