org.exoplatform.applications.ooplugin.client
Class DavCommand
java.lang.Object
org.exoplatform.applications.ooplugin.client.DavCommand
- Direct Known Subclasses:
- MultistatusCommand
public abstract class DavCommand
- extends Object
Created by The eXo Platform SAS Author.
- Version:
- $Id: $
- Author:
- Vitaly Guly
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUTH_BASIC
public static final String AUTH_BASIC
- See Also:
- Constant Field Values
commandName
protected String commandName
context
protected WebDavContext context
resourcePath
protected String resourcePath
client
protected HttpClient client
requestDataBytes
protected byte[] requestDataBytes
inStream
protected InputStream inStream
responseDataBytes
protected byte[] responseDataBytes
DavCommand
public DavCommand(WebDavContext context)
throws Exception
- Throws:
Exception
setResourcePath
public void setResourcePath(String resourcePath)
setRange
public void setRange(int rangeStart)
setRange
public void setRange(int rangeStart,
int rangeEnd)
setRequestDataBuffer
public void setRequestDataBuffer(byte[] requestDataBytes)
setRequestInputStream
public void setRequestInputStream(InputStream inStream,
long streamLength)
throws Exception
- Throws:
Exception
setXmlEnabled
public void setXmlEnabled(boolean enableXml)
setLockToken
public void setLockToken(String lockToken)
throws Exception
- Throws:
Exception
getResponseHeader
public String getResponseHeader(String headerName)
getResponseHeadersNames
public ArrayList<String> getResponseHeadersNames()
getResponseDataBuffer
public byte[] getResponseDataBuffer()
execute
public int execute()
throws Exception
- Throws:
Exception
finalExecute
public void finalExecute()
toXml
public Element toXml(Document xmlDocument)
Copyright © 2014 eXo Platform SAS. All Rights Reserved.