Package system.web
Class HttpCachePolicyWrapper
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.HttpCachePolicyBase
-
- system.web.HttpCachePolicyWrapper
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class HttpCachePolicyWrapper extends HttpCachePolicyBase
The base .NET class managing System.Web.HttpCachePolicyWrapper, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.HttpCachePolicyWrapper
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.HttpCachePolicyWrapperstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HttpCachePolicyWrapper()
HttpCachePolicyWrapper(java.lang.Object instance)
Internal constructor.HttpCachePolicyWrapper(HttpCachePolicy httpCachePolicy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
AddValidationCallback(HttpCacheValidateHandler handler, NetObject data)
void
AppendCacheExtension(java.lang.String extension)
static HttpCachePolicyWrapper
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoHttpCachePolicyWrapper
, a cast assert is made to check if types are compatible.java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typevoid
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)
-
Methods inherited from class system.web.HttpCachePolicyBase
getVaryByContentEncodings, getVaryByHeaders, getVaryByParams
-
-
-
-
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.HttpCachePolicyWrapper- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HttpCachePolicyWrapper
public HttpCachePolicyWrapper(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
HttpCachePolicyWrapper
public HttpCachePolicyWrapper() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
HttpCachePolicyWrapper
public HttpCachePolicyWrapper(HttpCachePolicy httpCachePolicy) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
-
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 classHttpCachePolicyBase
- 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 classHttpCachePolicyBase
- 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 classHttpCachePolicyBase
- 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 classHttpCachePolicyBase
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classHttpCachePolicyBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classHttpCachePolicyBase
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static HttpCachePolicyWrapper cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoHttpCachePolicyWrapper
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HttpCachePolicyWrapper
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
AddValidationCallback
public void AddValidationCallback(HttpCacheValidateHandler handler, NetObject data) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Overrides:
AddValidationCallback
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
-
AppendCacheExtension
public void AppendCacheExtension(java.lang.String extension) throws java.lang.Throwable, ArgumentNullException, IndexOutOfRangeException
- Overrides:
AppendCacheExtension
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
ArgumentNullException
IndexOutOfRangeException
-
SetAllowResponseInBrowserHistory
public void SetAllowResponseInBrowserHistory(boolean allow) throws java.lang.Throwable
- Overrides:
SetAllowResponseInBrowserHistory
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
-
SetCacheability
public void SetCacheability(HttpCacheability cacheability) throws java.lang.Throwable, ArgumentOutOfRangeException
- Overrides:
SetCacheability
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
-
SetCacheability
public void SetCacheability(HttpCacheability cacheability, java.lang.String field) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
- Overrides:
SetCacheability
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
ArgumentNullException
CultureNotFoundException
ArgumentOutOfRangeException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
-
SetETag
public void SetETag(java.lang.String etag) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
- Overrides:
SetETag
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
-
SetETagFromFileDependencies
public void SetETagFromFileDependencies() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
- Overrides:
SetETagFromFileDependencies
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
-
SetExpires
public void SetExpires(DateTime date) throws java.lang.Throwable, ArgumentException, ArgumentNullException, OverflowException, ArgumentOutOfRangeException
- Overrides:
SetExpires
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
OverflowException
ArgumentOutOfRangeException
-
SetLastModified
public void SetLastModified(DateTime date) throws java.lang.Throwable, ArgumentException, ArgumentNullException, OverflowException, ArgumentOutOfRangeException
- Overrides:
SetLastModified
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
OverflowException
ArgumentOutOfRangeException
-
SetLastModifiedFromFileDependencies
public void SetLastModifiedFromFileDependencies() throws java.lang.Throwable
- Overrides:
SetLastModifiedFromFileDependencies
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
-
SetMaxAge
public void SetMaxAge(TimeSpan delta) throws java.lang.Throwable, ArgumentOutOfRangeException
- Overrides:
SetMaxAge
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
-
SetNoServerCaching
public void SetNoServerCaching() throws java.lang.Throwable
- Overrides:
SetNoServerCaching
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
-
SetNoStore
public void SetNoStore() throws java.lang.Throwable
- Overrides:
SetNoStore
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
-
SetNoTransforms
public void SetNoTransforms() throws java.lang.Throwable
- Overrides:
SetNoTransforms
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
-
SetOmitVaryStar
public void SetOmitVaryStar(boolean omit) throws java.lang.Throwable
- Overrides:
SetOmitVaryStar
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
-
SetProxyMaxAge
public void SetProxyMaxAge(TimeSpan delta) throws java.lang.Throwable, ArgumentOutOfRangeException
- Overrides:
SetProxyMaxAge
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
-
SetRevalidation
public void SetRevalidation(HttpCacheRevalidation revalidation) throws java.lang.Throwable, ArgumentOutOfRangeException
- Overrides:
SetRevalidation
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
-
SetSlidingExpiration
public void SetSlidingExpiration(boolean slide) throws java.lang.Throwable
- Overrides:
SetSlidingExpiration
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
-
SetValidUntilExpires
public void SetValidUntilExpires(boolean validUntilExpires) throws java.lang.Throwable
- Overrides:
SetValidUntilExpires
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
-
SetVaryByCustom
public void SetVaryByCustom(java.lang.String custom) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
- Overrides:
SetVaryByCustom
in classHttpCachePolicyBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
-
-