microsoft.exchange.webservices.data.core.request
Class GetRoomListsRequest

java.lang.Object
  extended by microsoft.exchange.webservices.data.core.request.ServiceRequestBase<T>
      extended by microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase<GetRoomListsResponse>
          extended by microsoft.exchange.webservices.data.core.request.GetRoomListsRequest

public final class GetRoomListsRequest
extends SimpleServiceRequestBase<GetRoomListsResponse>

Represents a GetRoomList request.


Constructor Summary
GetRoomListsRequest(ExchangeService service)
          Initializes a new instance of the class.
 
Method Summary
 GetRoomListsResponse execute()
          Executes this request.
protected  ExchangeVersion getMinimumRequiredServerVersion()
          Gets the request version.
protected  String getResponseXmlElementName()
          Gets the name of the response XML element.
 String getXmlElementName()
          Gets the name of the XML element.
protected  GetRoomListsResponse parseResponse(EwsServiceXmlReader reader)
          Parses the response.
protected  void writeElementsToXml(EwsServiceXmlWriter writer)
          Writes XML elements.
 
Methods inherited from class microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase
beginExecute, endInternalExecute, internalExecute
 
Methods inherited from class microsoft.exchange.webservices.data.core.request.ServiceRequestBase
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validate, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRoomListsRequest

public GetRoomListsRequest(ExchangeService service)
                    throws Exception
Initializes a new instance of the class.

Parameters:
service - the service
Throws:
Exception
Method Detail

getXmlElementName

public String getXmlElementName()
Gets the name of the XML element.

Specified by:
getXmlElementName in class ServiceRequestBase<GetRoomListsResponse>
Returns:
XML element name

writeElementsToXml

protected void writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements.

Specified by:
writeElementsToXml in class ServiceRequestBase<GetRoomListsResponse>
Parameters:
writer - the writer

getResponseXmlElementName

protected String getResponseXmlElementName()
Gets the name of the response XML element.

Specified by:
getResponseXmlElementName in class ServiceRequestBase<GetRoomListsResponse>
Returns:
XML element name

parseResponse

protected GetRoomListsResponse parseResponse(EwsServiceXmlReader reader)
                                      throws Exception
Parses the response.

Specified by:
parseResponse in class ServiceRequestBase<GetRoomListsResponse>
Parameters:
reader - The reader.
Returns:
the Response Object.
Throws:
Exception - the exception

getMinimumRequiredServerVersion

protected ExchangeVersion getMinimumRequiredServerVersion()
Gets the request version.

Specified by:
getMinimumRequiredServerVersion in class ServiceRequestBase<GetRoomListsResponse>
Returns:
Earliest Exchange version in which this request is supported.

execute

public GetRoomListsResponse execute()
                             throws Exception
Executes this request.

Returns:
Service response
Throws:
Exception - the exception


Copyright © 2012–2015 Microsoft. All rights reserved.