public class HttpCachePolicyWrapper extends HttpCachePolicyBase
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.HttpCachePolicyWrapper
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.HttpCachePolicyWrapper
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HttpCachePolicyWrapper() |
HttpCachePolicyWrapper(HttpCachePolicy httpCachePolicy) |
HttpCachePolicyWrapper(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddValidationCallback(HttpCacheValidateHandler handler,
NetObject data) |
void |
AppendCacheExtension(java.lang.String extension) |
static HttpCachePolicyWrapper |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into HttpCachePolicyWrapper, a cast assert is made to check if types are compatible. |
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
|
void |
SetAllowResponseInBrowserHistory(boolean allow) |
void |
SetCacheability(HttpCacheability cacheability) |
void |
SetCacheability(HttpCacheability cacheability,
java.lang.String field) |
void |
SetETag(java.lang.String etag) |
void |
SetETagFromFileDependencies() |
void |
SetExpires(DateTime date) |
void |
setJCOInstance(JCObject instance) |
void |
SetLastModified(DateTime date) |
void |
SetLastModifiedFromFileDependencies() |
void |
SetMaxAge(TimeSpan delta) |
void |
SetNoServerCaching() |
void |
SetNoStore() |
void |
SetNoTransforms() |
void |
SetOmitVaryStar(boolean omit) |
void |
SetProxyMaxAge(TimeSpan delta) |
void |
SetRevalidation(HttpCacheRevalidation revalidation) |
void |
SetSlidingExpiration(boolean slide) |
void |
SetValidUntilExpires(boolean validUntilExpires) |
void |
SetVaryByCustom(java.lang.String custom) |
getVaryByContentEncodings, getVaryByHeaders, getVaryByParamspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HttpCachePolicyWrapper()
throws java.lang.Throwable
java.lang.Throwablepublic HttpCachePolicyWrapper(HttpCachePolicy httpCachePolicy) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic HttpCachePolicyWrapper(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void AddValidationCallback(HttpCacheValidateHandler handler, NetObject data) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
AddValidationCallback in class HttpCachePolicyBasejava.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic void AppendCacheExtension(java.lang.String extension)
throws java.lang.Throwable,
ArgumentNullException,
IndexOutOfRangeException
AppendCacheExtension in class HttpCachePolicyBasejava.lang.ThrowableArgumentNullExceptionIndexOutOfRangeExceptionpublic static HttpCachePolicyWrapper cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HttpCachePolicyWrapper, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHttpCachePolicyWrapper instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class HttpCachePolicyBaseString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class HttpCachePolicyBaseString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class HttpCachePolicyBaseObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class HttpCachePolicyBaseString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class HttpCachePolicyBaseJCType representing the CLR Type of the instantiated Classpublic void SetAllowResponseInBrowserHistory(boolean allow)
throws java.lang.Throwable
SetAllowResponseInBrowserHistory in class HttpCachePolicyBasejava.lang.Throwablepublic void SetCacheability(HttpCacheability cacheability) throws java.lang.Throwable, ArgumentOutOfRangeException
SetCacheability in class HttpCachePolicyBasejava.lang.ThrowableArgumentOutOfRangeExceptionpublic void SetCacheability(HttpCacheability cacheability, java.lang.String field) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
SetCacheability in class HttpCachePolicyBasejava.lang.ThrowableArgumentNullExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionpublic void SetETag(java.lang.String etag)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
SetETag in class HttpCachePolicyBasejava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic void SetETagFromFileDependencies()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
SetETagFromFileDependencies in class HttpCachePolicyBasejava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic void SetExpires(DateTime date) throws java.lang.Throwable, ArgumentException, ArgumentNullException, OverflowException, ArgumentOutOfRangeException
SetExpires in class HttpCachePolicyBasejava.lang.ThrowableArgumentExceptionArgumentNullExceptionOverflowExceptionArgumentOutOfRangeExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class HttpCachePolicyBasepublic void SetLastModified(DateTime date) throws java.lang.Throwable, ArgumentException, ArgumentNullException, OverflowException, ArgumentOutOfRangeException
SetLastModified in class HttpCachePolicyBasejava.lang.ThrowableArgumentExceptionArgumentNullExceptionOverflowExceptionArgumentOutOfRangeExceptionpublic void SetLastModifiedFromFileDependencies()
throws java.lang.Throwable
SetLastModifiedFromFileDependencies in class HttpCachePolicyBasejava.lang.Throwablepublic void SetMaxAge(TimeSpan delta) throws java.lang.Throwable, ArgumentOutOfRangeException
SetMaxAge in class HttpCachePolicyBasejava.lang.ThrowableArgumentOutOfRangeExceptionpublic void SetNoServerCaching()
throws java.lang.Throwable
SetNoServerCaching in class HttpCachePolicyBasejava.lang.Throwablepublic void SetNoStore()
throws java.lang.Throwable
SetNoStore in class HttpCachePolicyBasejava.lang.Throwablepublic void SetNoTransforms()
throws java.lang.Throwable
SetNoTransforms in class HttpCachePolicyBasejava.lang.Throwablepublic void SetOmitVaryStar(boolean omit)
throws java.lang.Throwable
SetOmitVaryStar in class HttpCachePolicyBasejava.lang.Throwablepublic void SetProxyMaxAge(TimeSpan delta) throws java.lang.Throwable, ArgumentOutOfRangeException
SetProxyMaxAge in class HttpCachePolicyBasejava.lang.ThrowableArgumentOutOfRangeExceptionpublic void SetRevalidation(HttpCacheRevalidation revalidation) throws java.lang.Throwable, ArgumentOutOfRangeException
SetRevalidation in class HttpCachePolicyBasejava.lang.ThrowableArgumentOutOfRangeExceptionpublic void SetSlidingExpiration(boolean slide)
throws java.lang.Throwable
SetSlidingExpiration in class HttpCachePolicyBasejava.lang.Throwablepublic void SetValidUntilExpires(boolean validUntilExpires)
throws java.lang.Throwable
SetValidUntilExpires in class HttpCachePolicyBasejava.lang.Throwablepublic void SetVaryByCustom(java.lang.String custom)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
SetVaryByCustom in class HttpCachePolicyBasejava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedException