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

public Class LaxExpiresHandler

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.BitSet, .Calendar, .Locale, .Map, .TimeZone, java.util.concurrent.ConcurrentHashMap, java.util.regex.Matcher, .Pattern, org.apache.http.annotation.Contract, .ThreadingBehavior, org.apache.http.cookie.ClientCookie, .CommonCookieAttributeHandler, .MalformedCookieException, .SetCookie, org.apache.http.message.ParserCursor, org.apache.http.util.Args, .TextUtils

Since
4.4

Field Summary

Modifier and TypeField and Description
private static final Pattern
private static final BitSet
private static final Pattern
private static final Map<String, Integer>
private static final Pattern
pack-priv static final TimeZone
private static final Pattern

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
copyContent(final CharSequence buf, final ParserCursor cursor, final StringBuilder dst)

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.
private void
skipDelims(final CharSequence buf, final ParserCursor cursor)

Inherited from org.apache.http.impl.cookie.AbstractCookieAttributeHandler:
matchvalidate

Field Detail

DAY_OF_MONTH_PATTERNback to summary
private static final Pattern DAY_OF_MONTH_PATTERN
DELIMSback to summary
private static final BitSet DELIMS
MONTH_PATTERNback to summary
private static final Pattern MONTH_PATTERN
MONTHSback to summary
private static final Map<String, Integer> MONTHS
TIME_PATTERNback to summary
private static final Pattern TIME_PATTERN
UTCback to summary
pack-priv static final TimeZone UTC
YEAR_PATTERNback to summary
private static final Pattern YEAR_PATTERN

Constructor Detail

LaxExpiresHandlerback to summary
public LaxExpiresHandler()

Method Detail

copyContentback to summary
private void copyContent(final CharSequence buf, final ParserCursor cursor, final StringBuilder dst)
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
skipDelimsback to summary
private void skipDelims(final CharSequence buf, final ParserCursor cursor)