Package com.jalios.jcms.webdav
Class IfHeaderParser
- java.lang.Object
 - 
- com.jalios.jcms.webdav.IfHeaderParser
 
 
- 
public class IfHeaderParser extends java.lang.ObjectParser 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 ">" 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIfHeaderParser.Conditionstatic classIfHeaderParser.EntityTagstatic classIfHeaderParser.IfParseExceptionstatic classIfHeaderParser.StateToken 
- 
Constructor Summary
Constructors Constructor Description IfHeaderParser() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<IfHeaderParser.Condition>parse(java.lang.String ifHeader)Parse a WebDAV If Header 
 - 
 
- 
- 
Method Detail
- 
parse
public static java.util.List<IfHeaderParser.Condition> parse(java.lang.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
 
 - 
 
 -