Esri Geoportal Server
1.0

com.esri.gpt.framework.http
Class XmlHandler

java.lang.Object
  extended by com.esri.gpt.framework.http.ContentBase
      extended by com.esri.gpt.framework.http.ContentHandler
          extended by com.esri.gpt.framework.http.CharacterHandler
              extended by com.esri.gpt.framework.http.XmlHandler

public class XmlHandler
extends CharacterHandler

XML handler.


Constructor Summary
XmlHandler(boolean namespaceAware)
           
 
Method Summary
 Document getDocument()
           
 void readResponse(HttpClientRequest request, InputStream responseStream)
          Handle the content associated with an HTTP response body.
 
Methods inherited from class com.esri.gpt.framework.http.CharacterHandler
determineEncoding, getWriter
 
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

XmlHandler

public XmlHandler(boolean namespaceAware)
Method Detail

readResponse

public void readResponse(HttpClientRequest request,
                         InputStream responseStream)
                  throws IOException
Description copied from class: CharacterHandler
Handle the content associated with an HTTP response body.

Overrides:
readResponse in class CharacterHandler
Parameters:
request - the HTTP request that was executed
responseStream - the stream associated with the HTTP response body
Throws:
IOException - if an exception occurs

getDocument

public Document getDocument()

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.