com.esri.gpt.framework.http
Class ByteArrayHandler
java.lang.Object
com.esri.gpt.framework.http.ContentBase
com.esri.gpt.framework.http.ContentHandler
com.esri.gpt.framework.http.StreamHandler
com.esri.gpt.framework.http.ByteArrayHandler
public class ByteArrayHandler
- extends StreamHandler
Writes the content of an HTTP response body to a byte array.
Method Summary |
byte[] |
getContent()
Gets the content associated with the HTTP response. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteArrayHandler
public ByteArrayHandler()
- Default constructor.
getContent
public byte[] getContent()
- Gets the content associated with the HTTP response.
- Returns:
- the content
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.