com.esri.gpt.framework.http
Class StringHandler
java.lang.Object
com.esri.gpt.framework.http.ContentBase
com.esri.gpt.framework.http.ContentHandler
com.esri.gpt.framework.http.CharacterHandler
com.esri.gpt.framework.http.StringHandler
public class StringHandler
- extends CharacterHandler
Writes the content of an HTTP response body to a String.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringHandler
public StringHandler()
- Default constructor.
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)
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.