public class org.apache.hc.client.http.impl.cookie.LaxMaxAgeHandler extends org.apache.hc.client.http.impl.cookie.AbstractCookieAttributeHandler implements org.apache.hc.client.http.cookie.CommonCookieAttributeHandler
{
private static final java.util.regex.Pattern MAX_AGE_PATTERN;
public void <init>()
{
org.apache.hc.client.http.impl.cookie.LaxMaxAgeHandler v;
v := @this: org.apache.hc.client.http.impl.cookie.LaxMaxAgeHandler;
specialinvoke v.<org.apache.hc.client.http.impl.cookie.AbstractCookieAttributeHandler: void <init>()>();
return;
}
public void parse(org.apache.hc.client.http.cookie.SetCookie, java.lang.String) throws org.apache.hc.client.http.cookie.MalformedCookieException
{
java.util.Date v;
java.lang.NumberFormatException v;
long v, v, v;
org.apache.hc.client.http.cookie.SetCookie v;
java.util.regex.Matcher v;
int v;
org.apache.hc.client.http.impl.cookie.LaxMaxAgeHandler v;
java.lang.String v;
java.util.regex.Pattern v;
boolean v, v;
v := @this: org.apache.hc.client.http.impl.cookie.LaxMaxAgeHandler;
v := @parameter: org.apache.hc.client.http.cookie.SetCookie;
v := @parameter: java.lang.String;
staticinvoke <org.apache.hc.core.util.Args: java.lang.Object notNull(java.lang.Object,java.lang.String)>(v, "Cookie");
v = staticinvoke <org.apache.hc.core.util.TextUtils: boolean isBlank(java.lang.CharSequence)>(v);
if v == 0 goto label;
return;
label:
v = <org.apache.hc.client.http.impl.cookie.LaxMaxAgeHandler: java.util.regex.Pattern MAX_AGE_PATTERN>;
v = virtualinvoke v.<java.util.regex.Pattern: java.util.regex.Matcher matcher(java.lang.CharSequence)>(v);
v = virtualinvoke v.<java.util.regex.Matcher: boolean matches()>();
if v == 0 goto label;
label:
v = staticinvoke <java.lang.Integer: int parseInt(java.lang.String)>(v);
label:
goto label;
label:
v := @caughtexception;
return;
label:
if v < 0 goto label;
v = new java.util.Date;
v = staticinvoke <java.lang.System: long currentTimeMillis()>();
v = v * 1000L;
v = v + v;
specialinvoke v.<java.util.Date: void <init>(long)>(v);
goto label;
label:
v = new java.util.Date;
specialinvoke v.<java.util.Date: void <init>(long)>(-9223372036854775808L);
label:
interfaceinvoke v.<org.apache.hc.client.http.cookie.SetCookie: void setExpiryDate(java.util.Date)>(v);
label:
return;
catch java.lang.NumberFormatException from label to label with label;
}
public java.lang.String getAttributeName()
{
org.apache.hc.client.http.impl.cookie.LaxMaxAgeHandler v;
v := @this: org.apache.hc.client.http.impl.cookie.LaxMaxAgeHandler;
return "max-age";
}
static void <clinit>()
{
java.util.regex.Pattern v;
v = staticinvoke <java.util.regex.Pattern: java.util.regex.Pattern compile(java.lang.String)>("^\\-?[0-9]+$");
<org.apache.hc.client.http.impl.cookie.LaxMaxAgeHandler: java.util.regex.Pattern MAX_AGE_PATTERN> = v;
return;
}
}