|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResponseHandler
A handler for all responses. Will set the headers, process any output stream and do any method specific actions.
Method Summary | |
---|---|
void |
close()
Do any actions needed when we wont need the ResponseHandler any more. |
int |
getStatusCode()
Returns the HTTP status code we received from the server |
void |
process(HttpServletResponse response)
Will process the response to set headers and streams for it. |
Method Detail |
---|
void process(HttpServletResponse response) throws java.io.IOException
response
- The response to process
java.io.IOException
- An exception is thrown when there is a problem with writing the outputint getStatusCode()
void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |