public class HttpCookie extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.HttpCookie
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.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Web
|
static java.lang.String |
className
Qualified class name: System.Web.HttpCookie
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HttpCookie() |
HttpCookie(java.lang.Object instance)
Internal constructor.
|
HttpCookie(java.lang.String name) |
HttpCookie(java.lang.String name,
java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
static HttpCookie |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into HttpCookie, a cast assert is made to check if types are compatible. |
java.lang.String |
getDomain() |
DateTime |
getExpires() |
boolean |
getHasKeys() |
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() |
SameSiteMode |
getSameSite() |
boolean |
getSecure() |
boolean |
getShareable() |
java.lang.String |
getValue() |
NameValueCollection |
getValues() |
void |
setDomain(java.lang.String Domain) |
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 |
setSameSite(SameSiteMode SameSite) |
void |
setSecure(boolean Secure) |
void |
setShareable(boolean Shareable) |
void |
setValue(java.lang.String Value) |
static boolean |
TryParse(java.lang.String input,
JCORefOut<HttpCookie> result) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HttpCookie()
throws java.lang.Throwable
java.lang.Throwablepublic HttpCookie(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic HttpCookie(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
HttpException,
IndexOutOfRangeException,
ProviderException,
ConfigurationErrorsException,
HttpRequestValidationException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionHttpExceptionIndexOutOfRangeExceptionProviderExceptionConfigurationErrorsExceptionHttpRequestValidationExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionConfigurationExceptionpublic HttpCookie(java.lang.String name,
java.lang.String value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
HttpException,
IndexOutOfRangeException,
ProviderException,
ConfigurationErrorsException,
HttpRequestValidationException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
ConfigurationException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionHttpExceptionIndexOutOfRangeExceptionProviderExceptionConfigurationErrorsExceptionHttpRequestValidationExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionConfigurationExceptionpublic static HttpCookie cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HttpCookie, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHttpCookie instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getDomain()
throws java.lang.Throwable
java.lang.Throwablepublic DateTime getExpires() throws java.lang.Throwable
java.lang.Throwablepublic boolean getHasKeys()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ConfigurationErrorsException,
ConfigurationException,
ArgumentNullException,
InvalidOperationException,
ThreadAbortException,
NotSupportedException,
ObjectDisposedException,
AbandonedMutexException
public 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 SameSiteMode getSameSite() throws java.lang.Throwable
java.lang.Throwablepublic boolean getSecure()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getShareable()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getValue()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
ObjectDisposedException,
CultureNotFoundException,
InvalidOperationException,
MissingManifestResourceException,
ConfigurationErrorsException,
NotSupportedException,
ConfigurationException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionObjectDisposedExceptionCultureNotFoundExceptionInvalidOperationExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionNotSupportedExceptionConfigurationExceptionpublic NameValueCollection getValues() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, ConfigurationErrorsException, CultureNotFoundException, NotSupportedException, ConfigurationException, InvalidOperationException, IndexOutOfRangeException, ThreadAbortException
public void setDomain(java.lang.String Domain)
throws java.lang.Throwable
java.lang.Throwablepublic 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
java.lang.Throwablepublic void setPath(java.lang.String Path)
throws java.lang.Throwable
java.lang.Throwablepublic void setSameSite(SameSiteMode SameSite) throws java.lang.Throwable
java.lang.Throwablepublic void setSecure(boolean Secure)
throws java.lang.Throwable
java.lang.Throwablepublic void setShareable(boolean Shareable)
throws java.lang.Throwable
java.lang.Throwablepublic void setValue(java.lang.String Value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException
public static boolean TryParse(java.lang.String input,
JCORefOut<HttpCookie> result)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
HttpException,
ArgumentNullException,
ConfigurationErrorsException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ConfigurationException,
ThreadAbortException,
CultureNotFoundException,
NullReferenceException,
OverflowException,
InvalidCastException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionHttpExceptionArgumentNullExceptionConfigurationErrorsExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionThreadAbortExceptionCultureNotFoundExceptionNullReferenceExceptionOverflowExceptionInvalidCastException