|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.httpclient.HttpMethodBase
org.apache.commons.httpclient.methods.ExpectContinueMethod
org.apache.commons.httpclient.methods.EntityEnclosingMethod
org.apache.commons.httpclient.methods.PostMethod
davmail.exchange.ews.EWSMethod
public abstract class EWSMethod
EWS SOAP method.
| Nested Class Summary | |
|---|---|
static class |
EWSMethod.Attendee
Meeting attendee object |
static class |
EWSMethod.Item
Item |
static class |
EWSMethod.Occurrence
Recurring event occurrence |
| Fields inherited from class org.apache.commons.httpclient.methods.PostMethod |
|---|
FORM_URL_ENCODED_CONTENT_TYPE |
| Fields inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod |
|---|
CONTENT_LENGTH_AUTO, CONTENT_LENGTH_CHUNKED |
| Fields inherited from class org.apache.commons.httpclient.HttpMethodBase |
|---|
effectiveVersion, statusLine |
| Constructor Summary | |
|---|---|
EWSMethod(String itemType,
String methodName)
Build EWS method |
|
EWSMethod(String itemType,
String methodName,
String responseCollectionName)
Build EWS method |
|
| Methods inherited from class org.apache.commons.httpclient.methods.PostMethod |
|---|
addParameter, addParameter, addParameters, clearRequestBody, generateRequestEntity, getParameter, getParameters, hasRequestContent, removeParameter, removeParameter, setParameter, setRequestBody |
| Methods inherited from class org.apache.commons.httpclient.methods.EntityEnclosingMethod |
|---|
addContentLengthRequestHeader, addRequestHeaders, generateRequestBody, getFollowRedirects, getRequestCharSet, getRequestContentLength, getRequestEntity, recycle, setContentChunked, setFollowRedirects, setRequestBody, setRequestBody, setRequestContentLength, setRequestContentLength, setRequestEntity, writeRequestBody |
| Methods inherited from class org.apache.commons.httpclient.methods.ExpectContinueMethod |
|---|
getUseExpectHeader, setUseExpectHeader |
| Methods inherited from class org.apache.commons.httpclient.HttpMethodBase |
|---|
abort, addCookieRequestHeader, addHostRequestHeader, addProxyConnectionHeader, addRequestHeader, addRequestHeader, addResponseFooter, addUserAgentRequestHeader, checkNotUsed, checkUsed, execute, generateRequestLine, getAuthenticationRealm, getContentCharSet, getDoAuthentication, getEffectiveVersion, getHostAuthState, getHostConfiguration, getMethodRetryHandler, getParams, getPath, getProxyAuthenticationRealm, getProxyAuthState, getQueryString, getRecoverableExceptionCount, getRequestHeader, getRequestHeaderGroup, getRequestHeaders, getRequestHeaders, getResponseBody, getResponseBody, getResponseBodyAsStream, getResponseBodyAsString, getResponseBodyAsString, getResponseCharSet, getResponseContentLength, getResponseFooter, getResponseFooters, getResponseHeader, getResponseHeaderGroup, getResponseHeaders, getResponseHeaders, getResponseStream, getResponseTrailerHeaderGroup, getStatusLine, getStatusText, getURI, hasBeenUsed, isAborted, isConnectionCloseForced, isHttp11, isRequestSent, isStrictMode, processCookieHeaders, processResponseHeaders, processStatusLine, readResponse, readResponseBody, readResponseHeaders, readStatusLine, releaseConnection, removeRequestHeader, removeRequestHeader, responseBodyConsumed, setConnectionCloseForced, setDoAuthentication, setHostConfiguration, setHttp11, setMethodRetryHandler, setParams, setPath, setQueryString, setQueryString, setRequestHeader, setRequestHeader, setResponseStream, setStrictMode, setURI, shouldCloseConnection, validate, writeRequest, writeRequestHeaders, writeRequestLine |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger LOGGER
protected FolderQueryTraversal traversal
protected BaseShape baseShape
protected boolean includeMimeContent
protected FolderId folderId
protected FolderId savedItemFolderId
protected FolderId toFolderId
protected FolderId parentFolderId
protected ItemId itemId
protected ItemId parentItemId
protected Set<FieldURI> additionalProperties
protected Disposal deleteType
protected Set<AttributeOption> methodOptions
protected ElementOption unresolvedEntry
protected int maxCount
protected int offset
protected boolean includesLastItemInRange
protected List<FieldUpdate> updates
protected FileAttachment attachment
protected String attachmentId
protected final String itemType
protected final String methodName
protected final String responseCollectionName
protected List<EWSMethod.Item> responseItems
protected String errorDetail
protected String errorDescription
protected EWSMethod.Item item
protected SearchExpression searchExpression
protected FieldOrder fieldOrder
protected String serverVersion
protected String timezoneContext
| Constructor Detail |
|---|
public EWSMethod(String itemType,
String methodName)
itemType - item typemethodName - method name
public EWSMethod(String itemType,
String methodName,
String responseCollectionName)
itemType - item typemethodName - method nameresponseCollectionName - item response collection name| Method Detail |
|---|
public String getName()
getName in interface org.apache.commons.httpclient.HttpMethodgetName in class org.apache.commons.httpclient.methods.PostMethodprotected void addAdditionalProperty(FieldURI additionalProperty)
protected void addMethodOption(AttributeOption attributeOption)
protected void setSearchExpression(SearchExpression searchExpression)
protected void setFieldOrder(FieldOrder fieldOrder)
protected void writeShape(Writer writer)
throws IOException
IOException
protected void writeItemId(Writer writer)
throws IOException
IOException
protected void writeParentItemId(Writer writer)
throws IOException
IOException
protected void writeFolderId(Writer writer)
throws IOException
IOException
protected void writeSavedItemFolderId(Writer writer)
throws IOException
IOException
protected void writeToFolderId(Writer writer)
throws IOException
IOException
protected void writeParentFolderId(Writer writer)
throws IOException
IOException
protected void writeItem(Writer writer)
throws IOException
IOException
protected void writeRestriction(Writer writer)
throws IOException
IOException
protected void writeSortOrder(Writer writer)
throws IOException
IOException
protected void startChanges(Writer writer)
throws IOException
IOException
protected void writeUpdates(Writer writer)
throws IOException
IOException
protected void writeUnresolvedEntry(Writer writer)
throws IOException
IOException
protected void endChanges(Writer writer)
throws IOException
IOExceptionprotected byte[] generateSoapEnvelope()
protected void writeSoapBody(Writer writer)
throws IOException
IOException
protected void writeIndexedPageItemView(Writer writer)
throws IOException
IOException
protected void writeAttachmentId(Writer writer)
throws IOException
IOException
protected void writeAttachments(Writer writer)
throws IOException
IOExceptionpublic String getServerVersion()
public void setServerVersion(String serverVersion)
serverVersion - server versionpublic void setTimezoneContext(String timezoneContext)
timezoneContext - user timezone context
public void checkSuccess()
throws EWSException
EWSException - on errorpublic int getStatusCode()
getStatusCode in interface org.apache.commons.httpclient.HttpMethodgetStatusCode in class org.apache.commons.httpclient.HttpMethodBase
public List<EWSMethod.Item> getResponseItems()
throws EWSException
EWSException - on error
public EWSMethod.Item getResponseItem()
throws EWSException
EWSException - on error
public byte[] getMimeContent()
throws EWSException
EWSException - on error
protected String handleTag(javax.xml.stream.XMLStreamReader reader,
String localName)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected void handleErrors(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected EWSMethod.Item handleItem(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected void handleEmailAddresses(javax.xml.stream.XMLStreamReader reader,
EWSMethod.Item item)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected void handleAttendees(javax.xml.stream.XMLStreamReader reader,
EWSMethod.Item item,
String attendeeType)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected void handleModifiedOccurrences(javax.xml.stream.XMLStreamReader reader,
EWSMethod.Item item)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected void handleOccurrence(javax.xml.stream.XMLStreamReader reader,
EWSMethod.Item item)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic static String responseTypeToPartstat(String responseType)
protected void handleAttendee(javax.xml.stream.XMLStreamReader reader,
EWSMethod.Item item,
String attendeeType)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected List<FileAttachment> handleAttachments(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected FileAttachment handleFileAttachment(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected void handleMimeContent(javax.xml.stream.XMLStreamReader reader,
EWSMethod.Item responseItem)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected void addExtendedPropertyValue(javax.xml.stream.XMLStreamReader reader,
EWSMethod.Item item)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected String getTagContent(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected String getAttributeValue(javax.xml.stream.XMLStreamReader reader,
String attributeName)
protected void processResponseBody(org.apache.commons.httpclient.HttpState httpState,
org.apache.commons.httpclient.HttpConnection httpConnection)
processResponseBody in class org.apache.commons.httpclient.HttpMethodBaseprotected void processResponseStream(InputStream inputStream)
protected void handleCustom(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||