Top Fields Constructors Methods
org.apache.http.impl.cookie

public Class BasicExpiresHandler

extends AbstractCookieAttributeHandler
implements CommonCookieAttributeHandler
Class Inheritance
All Implemented Interfaces
org.apache.http.cookie.CommonCookieAttributeHandler, org.apache.http.cookie.CookieAttributeHandler
Annotations
@Contract
threading:IMMUTABLE
Imports
java.util.Date, org.apache.http.annotation.Contract, .ThreadingBehavior, org.apache.http.client.utils.DateUtils, org.apache.http.cookie.ClientCookie, .CommonCookieAttributeHandler, .MalformedCookieException, .SetCookie, org.apache.http.util.Args

Since
4.0

Field Summary

Modifier and TypeField and Description
private final String[]
datePatterns

Valid date patterns

Constructor Summary

AccessConstructor and Description
public
BasicExpiresHandler(final String[] datePatterns)

Method Summary

Modifier and TypeMethod and Description
public String
public void
parse(final SetCookie cookie, final String
cookie attribute value from the cookie response header
value
)

Implements org.apache.http.cookie.CookieAttributeHandler.parse.

Parse the given cookie attribute value and update the corresponding org.apache.http.cookie.Cookie property.
Inherited from org.apache.http.impl.cookie.AbstractCookieAttributeHandler:
matchvalidate

Field Detail

datePatternsback to summary
private final String[] datePatterns

Valid date patterns

Constructor Detail

BasicExpiresHandlerback to summary
public BasicExpiresHandler(final String[] datePatterns)

Method Detail

getAttributeNameback to summary
public String getAttributeName()

Implements org.apache.http.cookie.CommonCookieAttributeHandler.getAttributeName.

Annotations
@Override
parseback to summary
public void parse(final SetCookie cookie, final String value) throws MalformedCookieException

Implements org.apache.http.cookie.CookieAttributeHandler.parse.

Doc from org.apache.http.cookie.CookieAttributeHandler.parse.

Parse the given cookie attribute value and update the corresponding org.apache.http.cookie.Cookie property.

Parameters
cookie:SetCookie

org.apache.http.cookie.Cookie to be updated

value:String

cookie attribute value from the cookie response header

Annotations
@Override