java.lang.Object
cloud.piranha.http.impl.DefaultHttpServerResponse
- All Implemented Interfaces:
HttpServerResponse
The default implementation of HTTP Server Response.
- Author:
- Manfred Riem (mriem@manorrock.com)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultHttpServerResponse
Constructor.- Parameters:
socket- the socket.
-
-
Method Details
-
addHeader
- Specified by:
addHeaderin interfaceHttpServerResponse
-
closeResponse
- Specified by:
closeResponsein interfaceHttpServerResponse- Throws:
IOException
-
getHeader
- Specified by:
getHeaderin interfaceHttpServerResponse
-
getOutputStream
- Specified by:
getOutputStreamin interfaceHttpServerResponse
-
setHeader
- Specified by:
setHeaderin interfaceHttpServerResponse
-
setStatus
public void setStatus(int status)- Specified by:
setStatusin interfaceHttpServerResponse
-
writeHeaders
- Specified by:
writeHeadersin interfaceHttpServerResponse- Throws:
IOException
-
writeStatusLine
- Specified by:
writeStatusLinein interfaceHttpServerResponse- Throws:
IOException
-