|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.j2ep.responsehandlers.ResponseHandlerBase
net.sf.j2ep.responsehandlers.BasicResponseHandler
public class BasicResponseHandler
A simple ResponseHandler used for all those times when all you have to do is write the Headers and process the stream.
Field Summary |
---|
Fields inherited from class net.sf.j2ep.responsehandlers.ResponseHandlerBase |
---|
method |
Constructor Summary | |
---|---|
BasicResponseHandler(org.apache.commons.httpclient.HttpMethod method)
Default constructor, will only call the super-constructor for ResponseHandlerBase. |
Method Summary | |
---|---|
void |
process(HttpServletResponse response)
Sets the headers, writes the stream and sets the status code. |
Methods inherited from class net.sf.j2ep.responsehandlers.ResponseHandlerBase |
---|
close, getStatusCode, sendStreamToClient, setHeaders |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicResponseHandler(org.apache.commons.httpclient.HttpMethod method)
method
- The method used for this responseMethod Detail |
---|
public void process(HttpServletResponse response) throws java.io.IOException
process
in interface ResponseHandler
process
in class ResponseHandlerBase
response
- The response to process
java.io.IOException
- An exception is thrown when there is a problem with writing the outputnet.sf.j2ep.model.ResponseHandler#process(javax.servlet.http.HttpServletResponse)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |