|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.framework.http.ContentBase
com.esri.gpt.framework.http.ContentHandler
public abstract class ContentHandler
Handler for the content of an HTTP response body.
Constructor Summary | |
---|---|
ContentHandler()
Default constructor. |
Method Summary | |
---|---|
boolean |
onBeforeReadResponse(HttpClientRequest request)
Called before response is being read. |
abstract 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 ContentHandler()
Method Detail |
---|
public boolean onBeforeReadResponse(HttpClientRequest request)
request
- HTTP client request
true
to continue reading responsepublic abstract void readResponse(HttpClientRequest request, InputStream responseStream) throws IOException
request
- the HTTP request that was executedresponseStream
- the stream associated with the HTTP response body
IOException
- if an exception occurs
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |