Class GetAttachmentResponse
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.response.ServiceResponse
-
- microsoft.exchange.webservices.data.core.response.GetAttachmentResponse
-
public final class GetAttachmentResponse extends ServiceResponse
Represents the response to an individual attachment retrieval request.
-
-
Constructor Summary
Constructors Constructor Description GetAttachmentResponse(Attachment attachment)Initializes a new instance of the GetAttachmentResponse class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AttachmentgetAttachment()Gets the attachment that was retrieved.protected voidreadElementsFromXml(EwsServiceXmlReader reader)Reads response elements from XML.-
Methods inherited from class microsoft.exchange.webservices.data.core.response.ServiceResponse
getBatchProcessingStopped, getErrorCode, getErrorDetails, getErrorMessage, getErrorProperties, getResult, internalThrowIfNecessary, loaded, loadExtraErrorDetailsFromXml, loadFromXml, mapErrorCodeToErrorMessage, parseMessageXml, setErrorMessage, throwIfNecessary
-
-
-
-
Constructor Detail
-
GetAttachmentResponse
public GetAttachmentResponse(Attachment attachment)
Initializes a new instance of the GetAttachmentResponse class.- Parameters:
attachment- the attachment
-
-
Method Detail
-
readElementsFromXml
protected void readElementsFromXml(EwsServiceXmlReader reader) throws Exception
Reads response elements from XML.- Overrides:
readElementsFromXmlin classServiceResponse- Parameters:
reader- The reader.- Throws:
Exception- the exception
-
getAttachment
protected Attachment getAttachment()
Gets the attachment that was retrieved.- Returns:
- the attachment
-
-