org.apache.wink.webdav.model
Class Getcontentlength

java.lang.Object
  extended by org.apache.wink.webdav.model.Getcontentlength

public class Getcontentlength
extends java.lang.Object

The getcontentlength Property per the WebDAV specification [RFC 4918]

    Name:       getcontentlength
    Namespace:  DAV:
    Purpose:    Contains the Content-Length header returned by a GET
    without accept headers.
    Description: The getcontentlength property MUST be defined on any
    DAV compliant resource that returns the Content-Length header in
    response to a GET.
    Value:      content-length ; see section 14.14 of [RFC2068]
 
    <!ELEMENT getcontentlength (#PCDATA) >
 
 


Field Summary
protected  java.util.List<java.lang.String> content
           
 
Constructor Summary
Getcontentlength()
           
Getcontentlength(java.lang.String value)
           
 
Method Summary
 java.lang.String getValue()
          Gets the value.
 void setValue(java.lang.String value)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected java.util.List<java.lang.String> content
Constructor Detail

Getcontentlength

public Getcontentlength()

Getcontentlength

public Getcontentlength(java.lang.String value)
Method Detail

setValue

public void setValue(java.lang.String value)
Sets the value.

Parameters:
value - the value to set

getValue

public java.lang.String getValue()
Gets the value.

Returns:
the value


Copyright © 2009 The Apache Software Foundation. All Rights Reserved.