xsul.http_server.impl
Class HttpServerResponseImpl

java.lang.Object
  extended byxsul.http_server.impl.HttpServerResponseImpl
All Implemented Interfaces:
HttpServerResponse

public class HttpServerResponseImpl
extends java.lang.Object
implements HttpServerResponse

Base exception thrown by all HTTP server side operations.

Version:
$Revision: 1.12 $
Author:
Aleksander Slominski

Method Summary
 void ensureHeadersCapacity(int capacity)
           
 java.lang.String getCharset()
           
 java.lang.String getContentType()
           
 java.io.OutputStream getOutputStream()
           
 java.lang.String getReasonPhrase()
           
 java.lang.String getStatusCode()
           
 void setCharset(java.lang.String charset)
           
 void setContentType(java.lang.String contentType)
           
 void setHeader(java.lang.String headerName, java.lang.String headerValue)
           
 void setReasonPhrase(java.lang.String reasonPhrase)
           
 void setStatusCode(java.lang.String statusCode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setContentType

public void setContentType(java.lang.String contentType)
Specified by:
setContentType in interface HttpServerResponse

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface HttpServerResponse

setCharset

public void setCharset(java.lang.String charset)
Specified by:
setCharset in interface HttpServerResponse

getCharset

public java.lang.String getCharset()
Specified by:
getCharset in interface HttpServerResponse

getOutputStream

public java.io.OutputStream getOutputStream()
Specified by:
getOutputStream in interface HttpServerResponse

setReasonPhrase

public void setReasonPhrase(java.lang.String reasonPhrase)
Specified by:
setReasonPhrase in interface HttpServerResponse

getReasonPhrase

public java.lang.String getReasonPhrase()
Specified by:
getReasonPhrase in interface HttpServerResponse

setStatusCode

public void setStatusCode(java.lang.String statusCode)
Specified by:
setStatusCode in interface HttpServerResponse

getStatusCode

public java.lang.String getStatusCode()
Specified by:
getStatusCode in interface HttpServerResponse

ensureHeadersCapacity

public void ensureHeadersCapacity(int capacity)

setHeader

public void setHeader(java.lang.String headerName,
                      java.lang.String headerValue)
Specified by:
setHeader in interface HttpServerResponse


IU Extreme! Lab (http://www.extreme.indiana.edu)