Method Summary |
|
public void | addProperty(PropertyName propertyName, Element propertyElement, int status) Add a property and its status to the collection of properties generated
as a result of sending a method to a resource. |
public Element | asXML() Translate this Response into an XML response element. |
public Vector | getActiveLocks() Get the active locks in the property response if any.
a Vector of ActiveLock objects containing information about lockson the resource. |
public String | getAuthor() The author of this resource. |
public Date | getCheckinDate() The date the resource revision was checked in. |
public String | getComment() The comment associated this resource. |
public String | getContentLanguage() The language the content is written in. |
public int | getContentLength() The length of the content of the resource or -1 if content length is not applicable. |
public String | getContentType() The MIME content type of the resource. |
public Date | getCreationDate() The date the resource was created. |
public String | getDisplayName() A name for this resource suitable for display by client applications. |
public String | getETag() The resource entity tag, useful for verifying the state of a cached resource. |
public Date | getLastModifiedDate() The date on which the resource was last modified. |
public Dictionary | getPropertiesByPropName() Get all the properties and their statuses in this Response. |
public PropertyValue | getProperty(PropertyName name) Get the value of a property contained in a PropertyResponse. |
public Dictionary | getPropertyDefinitionsByPropName() |
public Enumeration | getPropertyNamesPN() Get the names of the properties contained in a PropertyResponse. |
public String | getResourceType() Get the resource type for the resource associated with this PropertyResponse. |
public boolean | isOK() Check to see if this response does not contain an error. |
public boolean | isOnACollection() See if this property response is on a collection. |
public void | removeProperty(PropertyName propertyName) Remove a property from the collection of properties generated
as a result of sending a method to a resource. |
public void | setProperty(PropertyName name, PropertyValue value) Set the value of a property. |
public PropertyResponse | toPropertyResponse() Convert this Response to a PropertyResponse. |