public final class GetRoomsRequest extends SimpleServiceRequestBase<GetRoomsResponse>
Constructor and Description |
---|
GetRoomsRequest(ExchangeService service)
Represents a GetRooms request.
|
Modifier and Type | Method and Description |
---|---|
GetRoomsResponse |
execute()
Executes this request.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
protected EmailAddress |
getRoomList()
Gets the room list to retrieve rooms from.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
protected GetRoomsResponse |
parseResponse(EwsServiceXmlReader reader)
Parses the response.
|
void |
setRoomList(EmailAddress value)
Sets the room list.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements.
|
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validate, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public GetRoomsRequest(ExchangeService service) throws Exception
service
- the serviceException
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<GetRoomsResponse>
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ServiceRequestBase<GetRoomsResponse>
writer
- the writerException
- the exceptionprotected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<GetRoomsResponse>
protected GetRoomsResponse parseResponse(EwsServiceXmlReader reader) throws Exception
parseResponse
in class ServiceRequestBase<GetRoomsResponse>
reader
- The reader.Exception
- the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<GetRoomsResponse>
public GetRoomsResponse execute() throws Exception
Exception
- the exceptionprotected EmailAddress getRoomList()
public void setRoomList(EmailAddress value)
value
- the new room listCopyright © 2012–2015 Microsoft. All rights reserved.