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.String
assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Webstatic java.lang.String
className
Qualified class name: System.Web.HttpCachePolicystatic JCType
classType
The 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static HttpCachePolicy cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoHttpCachePolicy
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HttpCachePolicy
instance- 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.Throwable
ArgumentNullException
ArgumentOutOfRangeException
-
AppendCacheExtension
public void AppendCacheExtension(java.lang.String extension) throws java.lang.Throwable, ArgumentNullException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
IndexOutOfRangeException
-
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.Throwable
ArgumentOutOfRangeException
-
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.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
InvalidTimeZoneException
NotSupportedException
OverflowException
-
SetLastModified
public void SetLastModified(DateTime date) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
InvalidTimeZoneException
NotSupportedException
OverflowException
-
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.Throwable
ArgumentOutOfRangeException
-
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.Throwable
ArgumentOutOfRangeException
-
SetRevalidation
public void SetRevalidation(HttpCacheRevalidation revalidation) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
-
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
-
-