org.apache.wink.webdav.model
Class Keepalive
java.lang.Object
org.apache.wink.webdav.model.Keepalive
public class Keepalive
- extends Object
The keepalive
XML element per the WebDAV specification [RFC
4918]
Name: keepalive
Namespace: DAV:
Purpose: Specifies requirements for the copying/moving of live
properties.
Description: If a list of URIs is included as the value of keepalive
then the named properties MUST be "live" after they are copied
(moved) to the destination resource of a COPY (or MOVE). If the
value "*" is given for the keepalive XML element, this designates
that all live properties on the source resource MUST be live on the
destination. If the requirements specified by the keepalive element
can not be honored then the method MUST fail with a 412 (Precondition
Failed). All DAV compliant resources MUST support the keepalive XML
element for use with the COPY and MOVE methods.
Value: "*" ; #PCDATA value can only be "*"
<!ELEMENT keepalive (#PCDATA | href+) >
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
protected List<Serializable> content
Keepalive
public Keepalive()
getContent
public List<Serializable> getContent()
- Gets the value of the content property.
This accessor method returns a reference to the live list, not a
snapshot. Therefore any modification you make to the returned list will
be present inside the JAXB object. This is why there is not a
set
method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
String
>
String
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.