public class io.vertx.core.http.impl.CookieImpl extends java.lang.Object implements io.vertx.core.http.impl.ServerCookie
{
private final io.netty.handler.codec.http.cookie.Cookie nettyCookie;
private final boolean fromUserAgent;
private boolean changed;
private io.vertx.core.http.CookieSameSite sameSite;
public void <init>(java.lang.String, java.lang.String)
{
io.netty.handler.codec.http.cookie.DefaultCookie v;
java.lang.String v, v;
io.vertx.core.http.impl.CookieImpl v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new io.netty.handler.codec.http.cookie.DefaultCookie;
specialinvoke v.<io.netty.handler.codec.http.cookie.DefaultCookie: void <init>(java.lang.String,java.lang.String)>(v, v);
v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie> = v;
v.<io.vertx.core.http.impl.CookieImpl: boolean fromUserAgent> = 0;
v.<io.vertx.core.http.impl.CookieImpl: boolean changed> = 1;
return;
}
void <init>(io.netty.handler.codec.http.cookie.Cookie)
{
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v := @parameter: io.netty.handler.codec.http.cookie.Cookie;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie> = v;
v.<io.vertx.core.http.impl.CookieImpl: boolean fromUserAgent> = 1;
return;
}
public java.lang.String getValue()
{
java.lang.String v;
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
v = interfaceinvoke v.<io.netty.handler.codec.http.cookie.Cookie: java.lang.String value()>();
return v;
}
public io.vertx.core.http.Cookie setValue(java.lang.String)
{
java.lang.String v;
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v := @parameter: java.lang.String;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
interfaceinvoke v.<io.netty.handler.codec.http.cookie.Cookie: void setValue(java.lang.String)>(v);
v.<io.vertx.core.http.impl.CookieImpl: boolean changed> = 1;
return v;
}
public java.lang.String getName()
{
java.lang.String v;
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
v = interfaceinvoke v.<io.netty.handler.codec.http.cookie.Cookie: java.lang.String name()>();
return v;
}
public io.vertx.core.http.Cookie setDomain(java.lang.String)
{
java.lang.String v;
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v := @parameter: java.lang.String;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
interfaceinvoke v.<io.netty.handler.codec.http.cookie.Cookie: void setDomain(java.lang.String)>(v);
v.<io.vertx.core.http.impl.CookieImpl: boolean changed> = 1;
return v;
}
public java.lang.String getDomain()
{
java.lang.String v;
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
v = interfaceinvoke v.<io.netty.handler.codec.http.cookie.Cookie: java.lang.String domain()>();
return v;
}
public io.vertx.core.http.Cookie setPath(java.lang.String)
{
java.lang.String v;
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v := @parameter: java.lang.String;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
interfaceinvoke v.<io.netty.handler.codec.http.cookie.Cookie: void setPath(java.lang.String)>(v);
v.<io.vertx.core.http.impl.CookieImpl: boolean changed> = 1;
return v;
}
public java.lang.String getPath()
{
java.lang.String v;
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
v = interfaceinvoke v.<io.netty.handler.codec.http.cookie.Cookie: java.lang.String path()>();
return v;
}
public io.vertx.core.http.Cookie setMaxAge(long)
{
long v;
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v := @parameter: long;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
interfaceinvoke v.<io.netty.handler.codec.http.cookie.Cookie: void setMaxAge(long)>(v);
v.<io.vertx.core.http.impl.CookieImpl: boolean changed> = 1;
return v;
}
public long getMaxAge()
{
long v;
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
v = interfaceinvoke v.<io.netty.handler.codec.http.cookie.Cookie: long maxAge()>();
return v;
}
public io.vertx.core.http.Cookie setSecure(boolean)
{
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
boolean v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v := @parameter: boolean;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
interfaceinvoke v.<io.netty.handler.codec.http.cookie.Cookie: void setSecure(boolean)>(v);
v.<io.vertx.core.http.impl.CookieImpl: boolean changed> = 1;
return v;
}
public boolean isSecure()
{
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
boolean v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
v = interfaceinvoke v.<io.netty.handler.codec.http.cookie.Cookie: boolean isSecure()>();
return v;
}
public io.vertx.core.http.Cookie setHttpOnly(boolean)
{
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
boolean v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v := @parameter: boolean;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
interfaceinvoke v.<io.netty.handler.codec.http.cookie.Cookie: void setHttpOnly(boolean)>(v);
v.<io.vertx.core.http.impl.CookieImpl: boolean changed> = 1;
return v;
}
public boolean isHttpOnly()
{
io.netty.handler.codec.http.cookie.Cookie v;
io.vertx.core.http.impl.CookieImpl v;
boolean v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
v = interfaceinvoke v.<io.netty.handler.codec.http.cookie.Cookie: boolean isHttpOnly()>();
return v;
}
public io.vertx.core.http.Cookie setSameSite(io.vertx.core.http.CookieSameSite)
{
io.vertx.core.http.impl.CookieImpl v;
io.vertx.core.http.CookieSameSite v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v := @parameter: io.vertx.core.http.CookieSameSite;
v.<io.vertx.core.http.impl.CookieImpl: io.vertx.core.http.CookieSameSite sameSite> = v;
v.<io.vertx.core.http.impl.CookieImpl: boolean changed> = 1;
return v;
}
public io.vertx.core.http.CookieSameSite getSameSite()
{
io.vertx.core.http.impl.CookieImpl v;
io.vertx.core.http.CookieSameSite v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v = v.<io.vertx.core.http.impl.CookieImpl: io.vertx.core.http.CookieSameSite sameSite>;
return v;
}
public java.lang.String encode()
{
io.netty.handler.codec.http.cookie.Cookie v, v;
io.vertx.core.http.CookieSameSite v, v;
java.lang.String v, v, v, v;
io.vertx.core.http.impl.CookieImpl v;
io.netty.handler.codec.http.cookie.ServerCookieEncoder v, v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v = v.<io.vertx.core.http.impl.CookieImpl: io.vertx.core.http.CookieSameSite sameSite>;
if v == null goto label;
v = <io.netty.handler.codec.http.cookie.ServerCookieEncoder: io.netty.handler.codec.http.cookie.ServerCookieEncoder STRICT>;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
v = virtualinvoke v.<io.netty.handler.codec.http.cookie.ServerCookieEncoder: java.lang.String encode(io.netty.handler.codec.http.cookie.Cookie)>(v);
v = v.<io.vertx.core.http.impl.CookieImpl: io.vertx.core.http.CookieSameSite sameSite>;
v = virtualinvoke v.<io.vertx.core.http.CookieSameSite: java.lang.String toString()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u; SameSite=\u0001");
return v;
label:
v = <io.netty.handler.codec.http.cookie.ServerCookieEncoder: io.netty.handler.codec.http.cookie.ServerCookieEncoder STRICT>;
v = v.<io.vertx.core.http.impl.CookieImpl: io.netty.handler.codec.http.cookie.Cookie nettyCookie>;
v = virtualinvoke v.<io.netty.handler.codec.http.cookie.ServerCookieEncoder: java.lang.String encode(io.netty.handler.codec.http.cookie.Cookie)>(v);
return v;
}
public boolean isChanged()
{
io.vertx.core.http.impl.CookieImpl v;
boolean v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v = v.<io.vertx.core.http.impl.CookieImpl: boolean changed>;
return v;
}
public void setChanged(boolean)
{
io.vertx.core.http.impl.CookieImpl v;
boolean v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v := @parameter: boolean;
v.<io.vertx.core.http.impl.CookieImpl: boolean changed> = v;
return;
}
public boolean isFromUserAgent()
{
io.vertx.core.http.impl.CookieImpl v;
boolean v;
v := @this: io.vertx.core.http.impl.CookieImpl;
v = v.<io.vertx.core.http.impl.CookieImpl: boolean fromUserAgent>;
return v;
}
}