|
|||||||||
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.webdav.lib.methods.HttpRequestBodyMethodBase
org.apache.webdav.lib.methods.XMLResponseMethodBase
org.apache.webdav.lib.methods.AclMethod
public class AclMethod
ACL Method.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.webdav.lib.methods.XMLResponseMethodBase |
---|
XMLResponseMethodBase.OptionsResponse, XMLResponseMethodBase.Response, XMLResponseMethodBase.ResponseWithinMultistatus, XMLResponseMethodBase.SingleResponse |
Field Summary | |
---|---|
protected java.util.Vector |
aces
|
Fields inherited from class org.apache.webdav.lib.methods.XMLResponseMethodBase |
---|
builder, decodeResponseHrefs, responseURLs |
Constructor Summary | |
---|---|
AclMethod()
Method constructor. |
|
AclMethod(java.lang.String path)
Method constructor. |
Method Summary | |
---|---|
void |
addAce(Ace ace)
Add an ace to the ace list which will be set by the method. |
void |
addRequestHeaders(HttpState state,
HttpConnection conn)
Generate additional headers needed by the request. |
protected java.lang.String |
generateRequestBody()
DAV requests that contain a body must override this function to generate that body. |
java.lang.String |
getName()
|
void |
recycle()
Reset the State of the class to its initial state, so that it can be used again. |
Methods inherited from class org.apache.webdav.lib.methods.XMLResponseMethodBase |
---|
convertElementToProperty, getDebug, getRequestContentLength, getResponseDocument, getResponseHashtable, getResponses, getResponseURLs, parseResponse, parseXMLResponse, readResponseBody, setDebug, setDecodeResponseHrefs, setDocument, setResponseHashtable, writeRequestBody |
Methods inherited from class org.apache.webdav.lib.methods.HttpRequestBodyMethodBase |
---|
isRequestContentAlreadySet, readContinueCode, setRequestBody, setRequestBody, setRequestBody, setRequestBody, setRequestBody |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Vector aces
Constructor Detail |
---|
public AclMethod()
public AclMethod(java.lang.String path)
Method Detail |
---|
public void addAce(Ace ace)
ace
- Access control entrypublic void recycle()
XMLResponseMethodBase
recycle
in interface HttpMethod
recycle
in class XMLResponseMethodBase
public void addRequestHeaders(HttpState state, HttpConnection conn) throws java.io.IOException, HttpException
addRequestHeaders
in class HttpMethodBase
state
- State tokenconn
- the connection
java.io.IOException
HttpException
protected java.lang.String generateRequestBody()
The default behavior simply returns an empty body.
generateRequestBody
in class XMLResponseMethodBase
public java.lang.String getName()
getName
in interface HttpMethod
getName
in class HttpMethodBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |