|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.http.ContentBase com.esri.gpt.framework.http.ContentHandler com.esri.gpt.framework.http.StreamHandler
public class StreamHandler
Stream based handler for the content of an HTTP response body.
Constructor Summary | |
---|---|
StreamHandler(OutputStream stream)
Constructs with a supplied output stream. |
Method Summary | |
---|---|
OutputStream |
getOutputStream()
Gets the stream to which the HTTP response is written. |
void |
readResponse(HttpClientRequest request,
InputStream responseStream)
Handle the content associated with an HTTP response body. |
Methods inherited from class com.esri.gpt.framework.http.ContentBase |
---|
executeIO, executeIO, getInitialBufferlength, getLoggableContent, setInitialBufferLength |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamHandler(OutputStream stream)
stream
- the stream to which the HTTP response will be writtenMethod Detail |
---|
public OutputStream getOutputStream()
public void readResponse(HttpClientRequest request, InputStream responseStream) throws IOException
readResponse
in class ContentHandler
request
- the HTTP request that was executedresponseStream
- the stream associated with the HTTP response body
IOException
- if an exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |