|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used for ServiceMode stratagy objects.
While this interface resembles the Enum idiom in that only three instances are available SPEED, BUFFER and FILE, we are using this class to plug-in the implementation for our doService request in the manner of the Stratagy pattern.
Method Summary | |
void |
abort()
Complete opperation in the negative. |
void |
flush()
Complete opperation in the positive. |
java.io.OutputStream |
getDestination(javax.servlet.http.HttpServletResponse response)
Get a OutputStream we can use to add content. |
Method Detail |
public java.io.OutputStream getDestination(javax.servlet.http.HttpServletResponse response) throws java.io.IOException
JG - Can we replace this with a Writer?
response
-
java.io.IOException
public void flush() throws java.io.IOException
Gives service a chance to finish with destination, and clean up any resources.
java.io.IOException
public void abort()
Gives ServiceConfig a chance to clean up resources
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |