org.apache.wink.webdav.model
Class Getcontenttype

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

public class Getcontenttype
extends java.lang.Object

The getcontenttype Property per the WebDAV specification [RFC 4918]

    Name:       getcontenttype
    Namespace:  DAV:
    Purpose:    Contains the Content-Type header returned by a GET
    without accept headers.
    Description: This getcontenttype property MUST be defined on any DAV
    compliant resource that returns the Content-Type header in response
    to a GET.
    Value:      media-type   ; defined in section 3.7 of [RFC2068]
 
    <!ELEMENT getcontenttype (#PCDATA) >
 
 


Field Summary
protected  java.util.List<java.lang.String> content
           
 
Constructor Summary
Getcontenttype()
           
Getcontenttype(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

Getcontenttype

public Getcontenttype()

Getcontenttype

public Getcontenttype(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-2010 The Apache Software Foundation. All Rights Reserved.