org.apache.http.impl.cookie
Class RFC2965DiscardAttributeHandlerHC4

java.lang.Object
  extended by org.apache.http.impl.cookie.RFC2965DiscardAttributeHandlerHC4
All Implemented Interfaces:
org.apache.http.cookie.CookieAttributeHandler

@Immutable
public class RFC2965DiscardAttributeHandlerHC4
extends java.lang.Object
implements org.apache.http.cookie.CookieAttributeHandler

"Discard" cookie attribute handler for RFC 2965 cookie spec.

Since:
4.0

Constructor Summary
RFC2965DiscardAttributeHandlerHC4()
           
 
Method Summary
 boolean match(org.apache.http.cookie.Cookie cookie, org.apache.http.cookie.CookieOrigin origin)
           
 void parse(org.apache.http.cookie.SetCookie cookie, java.lang.String commenturl)
           
 void validate(org.apache.http.cookie.Cookie cookie, org.apache.http.cookie.CookieOrigin origin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RFC2965DiscardAttributeHandlerHC4

public RFC2965DiscardAttributeHandlerHC4()
Method Detail

parse

public void parse(org.apache.http.cookie.SetCookie cookie,
                  java.lang.String commenturl)
           throws org.apache.http.cookie.MalformedCookieException
Specified by:
parse in interface org.apache.http.cookie.CookieAttributeHandler
Throws:
org.apache.http.cookie.MalformedCookieException

validate

public void validate(org.apache.http.cookie.Cookie cookie,
                     org.apache.http.cookie.CookieOrigin origin)
              throws org.apache.http.cookie.MalformedCookieException
Specified by:
validate in interface org.apache.http.cookie.CookieAttributeHandler
Throws:
org.apache.http.cookie.MalformedCookieException

match

public boolean match(org.apache.http.cookie.Cookie cookie,
                     org.apache.http.cookie.CookieOrigin origin)
Specified by:
match in interface org.apache.http.cookie.CookieAttributeHandler