com.moyosoft.exchange.util
Class ExchangeServiceClient.ExchangeRequest
java.lang.Object
com.moyosoft.exchange.util.ExchangeServiceClient.ExchangeRequest
- Enclosing interface:
- ExchangeServiceClient
public static final class ExchangeServiceClient.ExchangeRequest
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExchangeServiceClient.ExchangeRequest
public ExchangeServiceClient.ExchangeRequest(java.io.InputStream in,
int contentLength)
ExchangeServiceClient.ExchangeRequest
public ExchangeServiceClient.ExchangeRequest(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
ExchangeServiceClient.ExchangeRequest
public ExchangeServiceClient.ExchangeRequest(java.lang.String request)
ExchangeServiceClient.ExchangeRequest
public ExchangeServiceClient.ExchangeRequest(byte[] request)
getContentLength
public int getContentLength()
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()
asBytes
public byte[] asBytes()
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.util.Map<java.lang.String,java.util.List<java.lang.String>> getParameters()
addParameter
public void addParameter(java.lang.String key,
java.lang.String value)