Class HttpCookie
public class HttpCookie : Cloneable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ICloneable
- Inheritance
-
HttpCookie
- Implements
- Extension Methods
Constructors
HttpCookie(String, String)
public HttpCookie(String arg0, String arg1)
Parameters
HttpCookie(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public HttpCookie(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
Comment
https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#getComment-- https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#setComment-java.lang.String-
public String Comment { get; set; }
Property Value
CommentURL
https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#getCommentURL-- https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#setCommentURL-java.lang.String-
public String CommentURL { get; set; }
Property Value
Discard
https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#getDiscard-- https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#setDiscard-boolean-
public bool Discard { get; set; }
Property Value
Domain
https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#getDomain-- https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#setDomain-java.lang.String-
public String Domain { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
MaxAge
https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#getMaxAge-- https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#setMaxAge-long-
public long MaxAge { get; set; }
Property Value
Name
public String Name { get; }
Property Value
Path
https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#getPath-- https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#setPath-java.lang.String-
public String Path { get; set; }
Property Value
Portlist
https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#getPortlist-- https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#setPortlist-java.lang.String-
public String Portlist { get; set; }
Property Value
Secure
https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#getSecure-- https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#setSecure-boolean-
public bool Secure { get; set; }
Property Value
Value
https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#getValue-- https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#setValue-java.lang.String-
public String Value { get; set; }
Property Value
Version
https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#getVersion-- https://docs.oracle.com/javase/8/docs/api/java/net/HttpCookie.html#setVersion-int-
public int Version { get; set; }
Property Value
Methods
CreatePoolableInstance(String, String)
HPA initializer for HttpCookie(Java.Lang.String arg0, Java.Lang.String arg1)
public static HttpCookie CreatePoolableInstance(String arg0, String arg1)
Parameters
Returns
DomainMatches(String, String)
public static bool DomainMatches(String arg0, String arg1)
Parameters
Returns
HasExpired()
public bool HasExpired()
Returns
IsHttpOnly()
public bool IsHttpOnly()
Returns
Parse(String)
public static List<HttpCookie> Parse(String arg0)
Parameters
Returns
SetHttpOnly(bool)
public void SetHttpOnly(bool arg0)