com.moyosoft.exchange.util
Class ExchangeServiceClient.ExchangeResponse
java.lang.Object
com.moyosoft.exchange.util.ExchangeServiceClient.ExchangeResponse
- Enclosing interface:
- ExchangeServiceClient
public static final class ExchangeServiceClient.ExchangeResponse
- extends java.lang.Object
Constructor Summary |
ExchangeServiceClient.ExchangeResponse(int responseCode,
java.lang.String responseStatusMessage,
byte[] responseContent)
|
ExchangeServiceClient.ExchangeResponse(int responseCode,
java.lang.String responseStatusMessage,
java.io.InputStream response)
|
ExchangeServiceClient.ExchangeResponse(int responseCode,
java.lang.String responseStatusMessage,
java.io.InputStream response,
int responseLength)
|
ExchangeServiceClient.ExchangeResponse(int responseCode,
java.lang.String responseStatusMessage,
java.lang.String responseContent)
|
ExchangeServiceClient.ExchangeResponse(java.lang.String statusLine,
byte[] responseContent)
|
ExchangeServiceClient.ExchangeResponse(java.lang.String statusLine,
java.io.InputStream response)
|
ExchangeServiceClient.ExchangeResponse(java.lang.String statusLine,
java.io.InputStream response,
int responseLength)
|
ExchangeServiceClient.ExchangeResponse(java.lang.String statusLine,
java.lang.String responseContent)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExchangeServiceClient.ExchangeResponse
public ExchangeServiceClient.ExchangeResponse(java.lang.String statusLine,
java.io.InputStream response)
throws java.io.IOException
- Throws:
java.io.IOException
ExchangeServiceClient.ExchangeResponse
public ExchangeServiceClient.ExchangeResponse(java.lang.String statusLine,
java.io.InputStream response,
int responseLength)
throws java.io.IOException
- Throws:
java.io.IOException
ExchangeServiceClient.ExchangeResponse
public ExchangeServiceClient.ExchangeResponse(java.lang.String statusLine,
java.lang.String responseContent)
ExchangeServiceClient.ExchangeResponse
public ExchangeServiceClient.ExchangeResponse(java.lang.String statusLine,
byte[] responseContent)
ExchangeServiceClient.ExchangeResponse
public ExchangeServiceClient.ExchangeResponse(int responseCode,
java.lang.String responseStatusMessage,
java.io.InputStream response)
throws java.io.IOException
- Throws:
java.io.IOException
ExchangeServiceClient.ExchangeResponse
public ExchangeServiceClient.ExchangeResponse(int responseCode,
java.lang.String responseStatusMessage,
java.io.InputStream response,
int responseLength)
throws java.io.IOException
- Throws:
java.io.IOException
ExchangeServiceClient.ExchangeResponse
public ExchangeServiceClient.ExchangeResponse(int responseCode,
java.lang.String responseStatusMessage,
java.lang.String responseContent)
ExchangeServiceClient.ExchangeResponse
public ExchangeServiceClient.ExchangeResponse(int responseCode,
java.lang.String responseStatusMessage,
byte[] responseContent)
getStatusLine
public java.lang.String getStatusLine()
writeTo
public void writeTo(java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
openInputStream
public java.io.InputStream openInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
asString
public java.lang.String asString()
throws java.io.IOException
- Throws:
java.io.IOException
asBytes
public byte[] asBytes()
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setParameters
public void setParameters(java.util.Map<java.lang.String,java.util.List<java.lang.String>> parameters)
hasParameters
public boolean hasParameters()
getParameters
public java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>> getParameters()