Apache Abdera API

org.apache.abdera.protocol.util
Class CacheControlUtil.CacheControlParser

java.lang.Object
  extended by org.apache.abdera.protocol.util.CacheControlUtil.CacheControlParser
All Implemented Interfaces:
Iterable<CacheControlUtil.Directive>
Enclosing class:
CacheControlUtil

public static class CacheControlUtil.CacheControlParser
extends Object
implements Iterable<CacheControlUtil.Directive>

Parser for the Cache-Control header


Constructor Summary
CacheControlUtil.CacheControlParser(String value)
           
 
Method Summary
 String getValue(CacheControlUtil.Directive directive)
           
 Map<CacheControlUtil.Directive,String> getValues()
           
 String[] getValues(CacheControlUtil.Directive directive)
           
 Iterator<CacheControlUtil.Directive> iterator()
           
static String[] splitAndTrim(String value, String delim, boolean unquote)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheControlUtil.CacheControlParser

public CacheControlUtil.CacheControlParser(String value)
Method Detail

getValues

public Map<CacheControlUtil.Directive,String> getValues()

getValue

public String getValue(CacheControlUtil.Directive directive)

iterator

public Iterator<CacheControlUtil.Directive> iterator()
Specified by:
iterator in interface Iterable<CacheControlUtil.Directive>

getValues

public String[] getValues(CacheControlUtil.Directive directive)

splitAndTrim

public static String[] splitAndTrim(String value,
                                    String delim,
                                    boolean unquote)

Apache Abdera API

Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.