restart.client
Class ServiceResult

java.lang.Object
  extended by restart.client.ServiceResult
Direct Known Subclasses:
XMLServiceResult

public class ServiceResult
extends java.lang.Object

Author:
Thibault Ducray

Constructor Summary
ServiceResult(java.net.HttpURLConnection httpConnection)
          don't call the constructor yourself
 
Method Summary
 java.lang.String getContentType()
           
 byte[] getData()
           
 int getDataLength()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceResult

public ServiceResult(java.net.HttpURLConnection httpConnection)
              throws java.io.IOException
don't call the constructor yourself

Throws:
java.io.IOException
Method Detail

getContentType

public java.lang.String getContentType()

getData

public byte[] getData()

getDataLength

public int getDataLength()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object