Package system.web
Class HttpCachePolicy
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.HttpCachePolicy
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class HttpCachePolicy extends NetObject
The base .NET class managing System.Web.HttpCachePolicy, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.HttpCachePolicy
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Webstatic java.lang.StringclassNameQualified class name: System.Web.HttpCachePolicystatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HttpCachePolicy()HttpCachePolicy(java.lang.Object instance)Internal constructor.
-
Method Summary
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Web- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Web.HttpCachePolicy- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static HttpCachePolicy cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoHttpCachePolicy, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
HttpCachePolicyinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetETagFromFileDependencies
public boolean GetETagFromFileDependencies() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetIgnoreRangeRequests
public boolean GetIgnoreRangeRequests() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetLastModifiedFromFileDependencies
public boolean GetLastModifiedFromFileDependencies() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetNoServerCaching
public boolean GetNoServerCaching() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetNoStore
public boolean GetNoStore() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetNoTransforms
public boolean GetNoTransforms() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
HasSlidingExpiration
public boolean HasSlidingExpiration() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
IsModified
public boolean IsModified() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
IsValidUntilExpires
public boolean IsValidUntilExpires() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetOmitVaryStar
public int GetOmitVaryStar() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetExpires
public DateTime GetExpires() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetUtcLastModified
public DateTime GetUtcLastModified() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetCacheExtensions
public java.lang.String GetCacheExtensions() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetETag
public java.lang.String GetETag() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetVaryByCustom
public java.lang.String GetVaryByCustom() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetMaxAge
public TimeSpan GetMaxAge() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetProxyMaxAge
public TimeSpan GetProxyMaxAge() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetCacheability
public HttpCacheability GetCacheability() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetRevalidation
public HttpCacheRevalidation GetRevalidation() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
AddValidationCallback
public void AddValidationCallback(HttpCacheValidateHandler handler, NetObject data) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeException
-
AppendCacheExtension
public void AppendCacheExtension(java.lang.String extension) throws java.lang.Throwable, ArgumentNullException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionIndexOutOfRangeException
-
SetAllowResponseInBrowserHistory
public void SetAllowResponseInBrowserHistory(boolean allow) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SetCacheability
public void SetCacheability(HttpCacheability cacheability) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
SetCacheability
public void SetCacheability(HttpCacheability cacheability, java.lang.String field) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException
-
SetETag
public void SetETag(java.lang.String etag) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
SetETagFromFileDependencies
public void SetETagFromFileDependencies() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
SetExpires
public void SetExpires(DateTime date) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionNotSupportedExceptionOverflowException
-
SetLastModified
public void SetLastModified(DateTime date) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionNotSupportedExceptionOverflowException
-
SetLastModifiedFromFileDependencies
public void SetLastModifiedFromFileDependencies() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SetMaxAge
public void SetMaxAge(TimeSpan delta) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
SetNoServerCaching
public void SetNoServerCaching() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SetNoStore
public void SetNoStore() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SetNoTransforms
public void SetNoTransforms() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SetOmitVaryStar
public void SetOmitVaryStar(boolean omit) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SetProxyMaxAge
public void SetProxyMaxAge(TimeSpan delta) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
SetRevalidation
public void SetRevalidation(HttpCacheRevalidation revalidation) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
SetSlidingExpiration
public void SetSlidingExpiration(boolean slide) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SetValidUntilExpires
public void SetValidUntilExpires(boolean validUntilExpires) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SetVaryByCustom
public void SetVaryByCustom(java.lang.String custom) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getUtcTimestampCreated
public DateTime getUtcTimestampCreated() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUtcTimestampCreated
public void setUtcTimestampCreated(DateTime UtcTimestampCreated) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getVaryByContentEncodings
public HttpCacheVaryByContentEncodings getVaryByContentEncodings() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getVaryByHeaders
public HttpCacheVaryByHeaders getVaryByHeaders() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getVaryByParams
public HttpCacheVaryByParams getVaryByParams() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-