Esri Geoportal Server
1.0

com.esri.gpt.framework.http
Class StringHandler

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.StringHandler

public class StringHandler
extends CharacterHandler

Writes the content of an HTTP response body to a String.


Constructor Summary
StringHandler()
          Default constructor.
 
Method Summary
 String getContent()
          Gets the content associated with the HTTP response.
 String getLoggableContent()
          Gets the content associated with the HTTP response suitable for logging.
 
Methods inherited from class com.esri.gpt.framework.http.CharacterHandler
determineEncoding, getWriter, readResponse
 
Methods inherited from class com.esri.gpt.framework.http.ContentBase
executeIO, executeIO, getInitialBufferlength, setInitialBufferLength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringHandler

public StringHandler()
Default constructor.

Method Detail

getContent

public String getContent()
Gets the content associated with the HTTP response.

Returns:
the content

getLoggableContent

public String getLoggableContent()
Gets the content associated with the HTTP response suitable for logging.

Overrides:
getLoggableContent in class ContentBase
Returns:
the loggable string (null if not applicable)

Esri Geoportal Server
1.0

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