public class HttpCachePolicy extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.HttpCachePolicy
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.HttpCachePolicy
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HttpCachePolicy() |
HttpCachePolicy(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HttpCachePolicy()
throws java.lang.Throwable
java.lang.Throwablepublic HttpCachePolicy(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void AddValidationCallback(HttpCacheValidateHandler handler, NetObject data) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic void AppendCacheExtension(java.lang.String extension)
throws java.lang.Throwable,
ArgumentNullException,
IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionIndexOutOfRangeExceptionpublic static HttpCachePolicy cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HttpCachePolicy, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHttpCachePolicy instancejava.lang.Throwable - in case of error during cast operationpublic HttpCacheability GetCacheability() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String GetCacheExtensions()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String GetETag()
throws java.lang.Throwable
java.lang.Throwablepublic boolean GetETagFromFileDependencies()
throws java.lang.Throwable
java.lang.Throwablepublic DateTime GetExpires() throws java.lang.Throwable
java.lang.Throwablepublic boolean GetIgnoreRangeRequests()
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 boolean GetLastModifiedFromFileDependencies()
throws java.lang.Throwable
java.lang.Throwablepublic TimeSpan GetMaxAge() throws java.lang.Throwable
java.lang.Throwablepublic boolean GetNoServerCaching()
throws java.lang.Throwable
java.lang.Throwablepublic boolean GetNoStore()
throws java.lang.Throwable
java.lang.Throwablepublic boolean GetNoTransforms()
throws java.lang.Throwable
java.lang.Throwablepublic int GetOmitVaryStar()
throws java.lang.Throwable
java.lang.Throwablepublic TimeSpan GetProxyMaxAge() throws java.lang.Throwable
java.lang.Throwablepublic HttpCacheRevalidation GetRevalidation() throws java.lang.Throwable
java.lang.Throwablepublic DateTime GetUtcLastModified() throws java.lang.Throwable
java.lang.Throwablepublic DateTime getUtcTimestampCreated() throws java.lang.Throwable
java.lang.Throwablepublic HttpCacheVaryByContentEncodings getVaryByContentEncodings() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String GetVaryByCustom()
throws java.lang.Throwable
java.lang.Throwablepublic HttpCacheVaryByHeaders getVaryByHeaders() throws java.lang.Throwable
java.lang.Throwablepublic HttpCacheVaryByParams getVaryByParams() throws java.lang.Throwable
java.lang.Throwablepublic boolean HasSlidingExpiration()
throws java.lang.Throwable
java.lang.Throwablepublic boolean IsModified()
throws java.lang.Throwable
java.lang.Throwablepublic boolean IsValidUntilExpires()
throws java.lang.Throwable
java.lang.Throwablepublic void SetAllowResponseInBrowserHistory(boolean allow)
throws java.lang.Throwable
java.lang.Throwablepublic void SetCacheability(HttpCacheability cacheability) throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void SetCacheability(HttpCacheability cacheability, java.lang.String field) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException
public void SetETag(java.lang.String etag)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void SetETagFromFileDependencies()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void SetExpires(DateTime date) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionNotSupportedExceptionOverflowExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void SetLastModified(DateTime date) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException, OverflowException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionNotSupportedExceptionOverflowExceptionpublic void SetLastModifiedFromFileDependencies()
throws java.lang.Throwable
java.lang.Throwablepublic void SetMaxAge(TimeSpan delta) throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void SetNoServerCaching()
throws java.lang.Throwable
java.lang.Throwablepublic void SetNoStore()
throws java.lang.Throwable
java.lang.Throwablepublic void SetNoTransforms()
throws java.lang.Throwable
java.lang.Throwablepublic void SetOmitVaryStar(boolean omit)
throws java.lang.Throwable
java.lang.Throwablepublic void SetProxyMaxAge(TimeSpan delta) throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void SetRevalidation(HttpCacheRevalidation revalidation) throws java.lang.Throwable, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void SetSlidingExpiration(boolean slide)
throws java.lang.Throwable
java.lang.Throwablepublic void setUtcTimestampCreated(DateTime UtcTimestampCreated) throws java.lang.Throwable
java.lang.Throwablepublic void SetValidUntilExpires(boolean validUntilExpires)
throws java.lang.Throwable
java.lang.Throwablepublic void SetVaryByCustom(java.lang.String custom)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException