org.xins.common.http
Interface HTTPCallResultData

All Known Implementing Classes:
HTTPCallResult

public interface HTTPCallResultData

Abstraction of the data part of an HTTP call result.

Since:
XINS 1.0.0
Version:
$Revision: 1.10 $ $Date: 2006/08/28 09:12:31 $
Author:
Ernst de Haan

Method Summary
 byte[] getData()
          Returns the result data as a byte array.
 int getStatusCode()
          Returns the HTTP status code.
 

Method Detail

getStatusCode

public int getStatusCode()
Returns the HTTP status code.

Returns:
the HTTP status code.

getData

public byte[] getData()
Returns the result data as a byte array. Note that this is not a copy or clone of the internal data structure, but it is a link to the actual data structure itself.

Returns:
a byte array of the result data, never null.


See http://www.xins.org/.