Esri Geoportal Server
1.0

com.esri.gpt.framework.http
Class ByteArrayHandler

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.StreamHandler
              extended by com.esri.gpt.framework.http.ByteArrayHandler

public class ByteArrayHandler
extends StreamHandler

Writes the content of an HTTP response body to a byte array.


Constructor Summary
ByteArrayHandler()
          Default constructor.
 
Method Summary
 byte[] getContent()
          Gets the content associated with the HTTP response.
 
Methods inherited from class com.esri.gpt.framework.http.StreamHandler
getOutputStream, readResponse
 
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

ByteArrayHandler

public ByteArrayHandler()
Default constructor.

Method Detail

getContent

public byte[] getContent()
Gets the content associated with the HTTP response.

Returns:
the content

Esri Geoportal Server
1.0

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