DAVProperty Type

A property that is either sent to or received from the server.

Remarks

This type defines a property that is used when the class sends a property find or patch request to the server. When FindProperties is used, this property will be populated with the properties returned from the server. When a call is made to PatchProperties, the class will use the information provided by this type to tell the server what to do with the property being specified.

Fields

Attr
String

This field shows the attribute string for the specified DAV property.

Name
String

This field shows the name of the DAV property sent to or received from the server.

NamespaceURI
String

This field shows the DAV property namespace. The default URI is "DAV:". This value may be changed if a desired namespace is different from the default namespace.

Operation
int

This field shows the operation to perform on a property when calling PatchProperties.

This is used when the class sends a property patch request to the server. When a call is made to PatchProperties, the class will use the Operation to tell the server what to do under the following scheme:

opNone (0)No operation will be performed on the property.
opSet (1)The value of Name will be set to Value.
opDelete (2)The property defined by Name will be removed from its resource.

Status
String

This field shows the status of the retrieved DAV property. If the property is successfully retrieved, Status contains the string "OK". Otherwise, it contains the HTTP status and description provided by the server.

After a call to FindProperties, the Properties collection will contain the name, value and status of DAV property returned by the server. The contents of the collection changes for every matching resource (ResourceProperties event). After the call completes, the collection will contain the values of the last matching resource.

Value
String

This field shows the value of the DAV property.

Constructors

public DAVProperty();



public DAVProperty(String name);



Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Java Edition - Version 20.0 [Build 8166]