public class Cookie extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Net.Cookie
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System
|
static java.lang.String |
className
Qualified class name: System.Net.Cookie
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Cookie() |
Cookie(java.lang.Object instance)
Internal constructor.
|
Cookie(java.lang.String name,
java.lang.String value) |
Cookie(java.lang.String name,
java.lang.String value,
java.lang.String path) |
Cookie(java.lang.String name,
java.lang.String value,
java.lang.String path,
java.lang.String domain) |
| Modifier and Type | Method and Description |
|---|---|
static Cookie |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Cookie, a cast assert is made to check if types are compatible. |
java.lang.String |
getComment() |
Uri |
getCommentUri() |
boolean |
getDiscard() |
java.lang.String |
getDomain() |
boolean |
getExpired() |
DateTime |
getExpires() |
boolean |
getHttpOnly() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getName() |
java.lang.String |
getPath() |
java.lang.String |
getPort() |
boolean |
getSecure() |
DateTime |
getTimeStamp() |
java.lang.String |
getValue() |
int |
getVersion() |
void |
setComment(java.lang.String Comment) |
void |
setCommentUri(Uri CommentUri) |
void |
setDiscard(boolean Discard) |
void |
setDomain(java.lang.String Domain) |
void |
setExpired(boolean Expired) |
void |
setExpires(DateTime Expires) |
void |
setHttpOnly(boolean HttpOnly) |
void |
setJCOInstance(JCObject instance) |
void |
setName(java.lang.String Name) |
void |
setPath(java.lang.String Path) |
void |
setPort(java.lang.String Port) |
void |
setSecure(boolean Secure) |
void |
setValue(java.lang.String Value) |
void |
setVersion(int Version) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Cookie()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidTimeZoneException,
OverflowException,
NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidTimeZoneExceptionOverflowExceptionNotSupportedExceptionpublic Cookie(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Cookie(java.lang.String name,
java.lang.String value)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidTimeZoneException,
OverflowException,
NotSupportedException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
CookieException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidTimeZoneExceptionOverflowExceptionNotSupportedExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionCookieExceptionpublic Cookie(java.lang.String name,
java.lang.String value,
java.lang.String path)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidTimeZoneException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
CookieException
public Cookie(java.lang.String name,
java.lang.String value,
java.lang.String path,
java.lang.String domain)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidTimeZoneException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
FormatException,
CookieException
public static Cookie cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Cookie, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCookie instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getComment()
throws java.lang.Throwable
java.lang.Throwablepublic Uri getCommentUri() throws java.lang.Throwable
java.lang.Throwablepublic boolean getDiscard()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getDomain()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getExpired()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidTimeZoneException,
NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionNotSupportedExceptionpublic DateTime getExpires() throws java.lang.Throwable
java.lang.Throwablepublic boolean getHttpOnly()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic java.lang.String getName()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getPath()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getPort()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getSecure()
throws java.lang.Throwable
java.lang.Throwablepublic DateTime getTimeStamp() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getValue()
throws java.lang.Throwable
java.lang.Throwablepublic int getVersion()
throws java.lang.Throwable
java.lang.Throwablepublic void setComment(java.lang.String Comment)
throws java.lang.Throwable
java.lang.Throwablepublic void setCommentUri(Uri CommentUri) throws java.lang.Throwable
java.lang.Throwablepublic void setDiscard(boolean Discard)
throws java.lang.Throwable
java.lang.Throwablepublic void setDomain(java.lang.String Domain)
throws java.lang.Throwable
java.lang.Throwablepublic void setExpired(boolean Expired)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
InvalidTimeZoneException,
OverflowException,
NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidTimeZoneExceptionOverflowExceptionNotSupportedExceptionpublic void setExpires(DateTime Expires) throws java.lang.Throwable
java.lang.Throwablepublic void setHttpOnly(boolean HttpOnly)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setName(java.lang.String Name)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
CookieException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionCookieExceptionpublic void setPath(java.lang.String Path)
throws java.lang.Throwable
java.lang.Throwablepublic void setPort(java.lang.String Port)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
CookieException,
TypeInitializationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionCookieExceptionTypeInitializationExceptionpublic void setSecure(boolean Secure)
throws java.lang.Throwable
java.lang.Throwablepublic void setValue(java.lang.String Value)
throws java.lang.Throwable
java.lang.Throwablepublic void setVersion(int Version)
throws java.lang.Throwable,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeException