org.apache.wink.webdav.model
Class Getcontenttype

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

public class Getcontenttype
extends 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  List<String> content
           
 
Constructor Summary
Getcontenttype()
           
Getcontenttype(String value)
           
 
Method Summary
 String getValue()
          Gets the value.
 void setValue(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 List<String> content
Constructor Detail

Getcontenttype

public Getcontenttype()

Getcontenttype

public Getcontenttype(String value)
Method Detail

setValue

public void setValue(String value)
Sets the value.

Parameters:
value - the value to set

getValue

public String getValue()
Gets the value.

Returns:
the value


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