com.esri.gpt.framework.http
Class ContentHandler
java.lang.Object
com.esri.gpt.framework.http.ContentBase
com.esri.gpt.framework.http.ContentHandler
- Direct Known Subclasses:
- CharacterHandler, StreamHandler
public abstract class ContentHandler
- extends ContentBase
Handler for the content of an HTTP response body.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentHandler
public ContentHandler()
- Default constructor.
readResponse
public abstract void readResponse(HttpClientRequest request,
InputStream responseStream)
throws IOException
- Handle the content associated with an HTTP response body.
- Parameters:
request
- the HTTP request that was executedresponseStream
- the stream associated with the HTTP response body
- Throws:
IOException
- if an exception occurs
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.