| org.geoserver.ows.ServiceStrategy
All known Subclasses: org.vfny.geoserver.servlets.FileStrategy, org.vfny.geoserver.servlets.SpeedStrategy, org.vfny.geoserver.servlets.PartialBufferStrategy2, org.geoserver.ows.DefaultOutputStrategy, org.vfny.geoserver.servlets.BufferStrategy,
ServiceStrategy | public interface ServiceStrategy extends Cloneable(Code) | | Strategy interface for writing output to an output stream.
This interface is used to provide different modes of output, an example would
be response buffering.
author: Jody Garnett, Refractions Research author: Justin Deoliveira, The Open Planning Project |
Method Summary | |
public void | abort() Complete opperation in the negative. | public Object | clone() Clones the service strategy. | public void | flush(HttpServletResponse response) Flushes the output, causing the response to be written to the actual
resposne output stream: response.getOutputStrema()
Any resources that the strategy holds on to should also be released at
this point. | public DispatcherOutputStream | getDestination(HttpServletResponse response) Get a OutputStream we can use to add content.
This output stream may be a wrapper around response.getOutpuStream()
or may not be.
Parameters: response - The servlet response. | public String | getId() |
abort | public void abort()(Code) | | Complete opperation in the negative.
Gives ServiceConfig a chance to clean up resources
|
flush | public void flush(HttpServletResponse response) throws IOException(Code) | | Flushes the output, causing the response to be written to the actual
resposne output stream: response.getOutputStrema()
Any resources that the strategy holds on to should also be released at
this point.
Parameters: response - TODO throws: IOException - Any I/O errors that occur. |
getId | public String getId()(Code) | | A string used to identify the output strategy. |
|
|