Class HttpServerResponse
java.lang.Object
org.jboss.resteasy.plugins.server.sun.http.HttpServerResponse
- All Implemented Interfaces:
Closeable,AutoCloseable,HttpResponse
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidaddNewCookie(jakarta.ws.rs.core.NewCookie cookie) voidvoidintbooleanvoidreset()voidsendError(int status) voidvoidvoidsetStatus(int status) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.resteasy.spi.HttpResponse
close, getAsyncOutputStream, setSuppressExceptionDuringChunkedTransfer, suppressExceptionDuringChunkedTransfer
-
Constructor Details
-
HttpServerResponse
-
-
Method Details
-
addHeader
-
commitHeaders
- Throws:
IOException
-
getStatus
public int getStatus()- Specified by:
getStatusin interfaceHttpResponse
-
setStatus
public void setStatus(int status) - Specified by:
setStatusin interfaceHttpResponse
-
getOutputHeaders
- Specified by:
getOutputHeadersin interfaceHttpResponse
-
getOutputStream
- Specified by:
getOutputStreamin interfaceHttpResponse- Throws:
IOException
-
setOutputStream
- Specified by:
setOutputStreamin interfaceHttpResponse
-
addNewCookie
public void addNewCookie(jakarta.ws.rs.core.NewCookie cookie) - Specified by:
addNewCookiein interfaceHttpResponse
-
sendError
- Specified by:
sendErrorin interfaceHttpResponse- Throws:
IOException
-
sendError
- Specified by:
sendErrorin interfaceHttpResponse- Throws:
IOException
-
isCommitted
public boolean isCommitted()- Specified by:
isCommittedin interfaceHttpResponse
-
reset
public void reset()- Specified by:
resetin interfaceHttpResponse
-
flushBuffer
- Specified by:
flushBufferin interfaceHttpResponse- Throws:
IOException
-