org.apache.abdera.protocol.util
Class CacheControlUtil.CacheControlParser
java.lang.Object
org.apache.abdera.protocol.util.CacheControlUtil.CacheControlParser
- All Implemented Interfaces:
- java.lang.Iterable<CacheControlUtil.Directive>
- Enclosing class:
- CacheControlUtil
public static class CacheControlUtil.CacheControlParser
- extends java.lang.Object
- implements java.lang.Iterable<CacheControlUtil.Directive>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheControlUtil.CacheControlParser
public CacheControlUtil.CacheControlParser(java.lang.String value)
getValues
public java.util.Map<CacheControlUtil.Directive,java.lang.String> getValues()
getValue
public java.lang.String getValue(CacheControlUtil.Directive directive)
iterator
public java.util.Iterator<CacheControlUtil.Directive> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<CacheControlUtil.Directive>
getValues
public java.lang.String[] getValues(CacheControlUtil.Directive directive)
splitAndTrim
public static java.lang.String[] splitAndTrim(java.lang.String value,
java.lang.String delim,
boolean unquote)