com.jalios.jcms.webdav
Class IfHeaderParser
java.lang.Object
  
com.jalios.jcms.webdav.IfHeaderParser
public class IfHeaderParser
- extends Object
 
Parser class for the If header described in RFC 2518
 (http://www.ietf.org/rfc/rfc2518.txt)
 
 ABNF : 
 
 If = "If" ":" ( 1*No-tag-list | 1*Tagged-list)
 No-tag-list = List
 Tagged-list = Resource 1*List
 Resource = Coded-URL
 List = "(" 1*(["Not"](State-token | "[" entity-tag "]")) ")"
 State-token = Coded-URL
 Coded-URL = "<" absoluteURI ">"
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
IfHeaderParser
public IfHeaderParser()
parse
public static List<IfHeaderParser.Condition> parse(String ifHeader)
                                            throws IfHeaderParser.IfParseException
- Parse a WebDAV If Header
- Parameters:
 ifHeader - the if header to parse, must not be null
- Returns:
 - a List of Condition, never return null
 - Throws:
 IfHeaderParser.IfParseException
 
 
Copyright © 2001-2010 Jalios SA. All Rights Reserved.