public class WebdavSupportedExchange extends HttpExchange
HttpExchange.CachedExchange, HttpExchange.ContentExchange
STATUS_CANCELLED, STATUS_CANCELLING, STATUS_COMPLETED, STATUS_EXCEPTED, STATUS_EXPIRED, STATUS_PARSING_CONTENT, STATUS_PARSING_HEADERS, STATUS_SENDING_REQUEST, STATUS_START, STATUS_WAITING_FOR_COMMIT, STATUS_WAITING_FOR_CONNECTION, STATUS_WAITING_FOR_RESPONSE
Constructor and Description |
---|
WebdavSupportedExchange() |
Modifier and Type | Method and Description |
---|---|
boolean |
isWebdavSupported() |
protected void |
onResponseComplete()
Callback called when the entire response has been received from the server This implementation does nothing.
|
protected void |
onResponseHeader(Buffer name,
Buffer value)
Callback called for each response header received from the server.
|
void |
waitTilCompletion() |
addRequestHeader, addRequestHeader, cancel, cancelTimeout, configureListeners, expire, getAddress, getEventListener, getLocalAddress, getMethod, getRequestContent, getRequestContentChunk, getRequestContentSource, getRequestFields, getRequestURI, getRetryStatus, getScheme, getStatus, getTimeout, getURI, getVersion, isDone, isDone, onConnectionFailed, onException, onExpire, onRequestCommitted, onRequestComplete, onResponseContent, onResponseHeaderComplete, onResponseStatus, onRetry, onSwitchProtocol, reset, scheduleTimeout, setAddress, setConfigureListeners, setEventListener, setMethod, setRequestContent, setRequestContentSource, setRequestContentType, setRequestHeader, setRequestHeader, setRequestURI, setRetryStatus, setScheme, setScheme, setTimeout, setURI, setURI, setURL, setVersion, setVersion, toState, toString, waitForDone, waitForStatus
protected void onResponseHeader(Buffer name, Buffer value) throws IOException
HttpExchange
onResponseHeader
in class HttpExchange
name
- the header namevalue
- the header valueIOException
- allowed to be thrown by overriding codepublic void waitTilCompletion() throws InterruptedException
InterruptedException
protected void onResponseComplete() throws IOException
HttpExchange
onResponseComplete
in class HttpExchange
IOException
- allowed to be thrown by overriding codepublic boolean isWebdavSupported()
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.