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