restart.client
Class ServiceResult
java.lang.Object
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServiceResult
public ServiceResult(java.net.HttpURLConnection httpConnection)
throws java.io.IOException
- don't call the constructor yourself
- Throws:
java.io.IOException
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