Package system.web
Class HttpApplicationStateWrapper
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>
,IEnumerable
,IJCOBridgeReflected
public class HttpApplicationStateWrapper extends HttpApplicationStateBase
The base .NET class managing System.Web.HttpApplicationStateWrapper, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.HttpApplicationStateWrapper
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.HttpApplicationStateWrapperstatic JCType
classType
The type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description HttpApplicationStateWrapper()
HttpApplicationStateWrapper(java.lang.Object instance)
Internal constructor.HttpApplicationStateWrapper(HttpApplicationState httpApplicationState)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Add(java.lang.String name, NetObject value)
static HttpApplicationStateWrapper
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoHttpApplicationStateWrapper
, a cast assert is made to check if types are compatible.void
Clear()
void
CopyTo(Array array, int index)
NetObject
Get(int index)
NetObject
Get(java.lang.String name)
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 Typejava.lang.String
GetKey(int index)
void
GetObjectData(SerializationInfo info, StreamingContext context)
void
Lock()
void
OnDeserialization(NetObject sender)
void
Remove(java.lang.String name)
void
RemoveAll()
void
RemoveAt(int index)
void
Set(java.lang.String name, NetObject value)
void
setJCOInstance(JCObject instance)
void
UnLock()
-
Methods inherited from class system.web.HttpApplicationStateBase
getAllKeys, getContents, getIsSynchronized, getStaticObjects, getSyncRoot
-
Methods inherited from class system.collections.specialized.NameObjectCollectionBase
getCount
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
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.HttpApplicationStateWrapper- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HttpApplicationStateWrapper
public HttpApplicationStateWrapper(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
HttpApplicationStateWrapper
public HttpApplicationStateWrapper() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
HttpApplicationStateWrapper
public HttpApplicationStateWrapper(HttpApplicationState httpApplicationState) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
-
-
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 classHttpApplicationStateBase
- 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 classHttpApplicationStateBase
- 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 classHttpApplicationStateBase
- 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 classHttpApplicationStateBase
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classHttpApplicationStateBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classHttpApplicationStateBase
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static HttpApplicationStateWrapper cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoHttpApplicationStateWrapper
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HttpApplicationStateWrapper
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Get
public NetObject Get(int index) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
- Overrides:
Get
in classHttpApplicationStateBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
-
Get
public NetObject Get(java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Overrides:
Get
in classHttpApplicationStateBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
GetKey
public java.lang.String GetKey(int index) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException
- Overrides:
GetKey
in classHttpApplicationStateBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
-
Add
public void Add(java.lang.String name, NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
- Overrides:
Add
in classHttpApplicationStateBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
-
Clear
public void Clear() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
- Overrides:
Clear
in classHttpApplicationStateBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
-
CopyTo
public void CopyTo(Array array, int index) throws java.lang.Throwable
- Overrides:
CopyTo
in classHttpApplicationStateBase
- Throws:
java.lang.Throwable
-
GetObjectData
public void GetObjectData(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, ArgumentNullException, SerializationException, ArgumentException, IndexOutOfRangeException, ArgumentOutOfRangeException
- Overrides:
GetObjectData
in classNameObjectCollectionBase
- Throws:
java.lang.Throwable
ArgumentNullException
SerializationException
ArgumentException
IndexOutOfRangeException
ArgumentOutOfRangeException
-
Lock
public void Lock() throws java.lang.Throwable, ArgumentException, ArgumentNullException
- Overrides:
Lock
in classHttpApplicationStateBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
-
OnDeserialization
public void OnDeserialization(NetObject sender) throws java.lang.Throwable, SerializationException, InvalidOperationException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException
- Overrides:
OnDeserialization
in classNameObjectCollectionBase
- Throws:
java.lang.Throwable
SerializationException
InvalidOperationException
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
-
Remove
public void Remove(java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
- Overrides:
Remove
in classHttpApplicationStateBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
-
RemoveAll
public void RemoveAll() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
- Overrides:
RemoveAll
in classHttpApplicationStateBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
-
RemoveAt
public void RemoveAt(int index) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
- Overrides:
RemoveAt
in classHttpApplicationStateBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
-
Set
public void Set(java.lang.String name, NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
- Overrides:
Set
in classHttpApplicationStateBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
-
UnLock
public void UnLock() throws java.lang.Throwable, ArgumentException, ArgumentNullException
- Overrides:
UnLock
in classHttpApplicationStateBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
-
-