Package system.web
Class HttpContextWrapper
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.HttpContextBase
-
- system.web.HttpContextWrapper
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class HttpContextWrapper extends HttpContextBase
The base .NET class managing System.Web.HttpContextWrapper, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.HttpContextWrapper
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.HttpContextWrapperstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HttpContextWrapper()
HttpContextWrapper(java.lang.Object instance)
Internal constructor.HttpContextWrapper(HttpContext httpContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
AddError(NetException errorInfo)
static HttpContextWrapper
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoHttpContextWrapper
, a cast assert is made to check if types are compatible.void
ClearError()
ISubscriptionToken
DisposeOnPipelineCompleted(IDisposable target)
NetObject
GetGlobalResourceObject(java.lang.String classKey, java.lang.String resourceKey)
NetObject
GetGlobalResourceObject(java.lang.String classKey, java.lang.String resourceKey, CultureInfo culture)
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 TypeNetObject
GetLocalResourceObject(java.lang.String virtualPath, java.lang.String resourceKey)
NetObject
GetLocalResourceObject(java.lang.String virtualPath, java.lang.String resourceKey, CultureInfo culture)
NetObject
GetSection(java.lang.String sectionName)
NetObject
GetService(NetType serviceType)
void
RemapHandler(IHttpHandler handler)
void
RewritePath(java.lang.String path)
void
RewritePath(java.lang.String path, boolean rebaseClientPath)
void
RewritePath(java.lang.String filePath, java.lang.String pathInfo, java.lang.String queryString)
void
RewritePath(java.lang.String filePath, java.lang.String pathInfo, java.lang.String queryString, boolean setClientFilePath)
void
setJCOInstance(JCObject instance)
void
SetSessionStateBehavior(SessionStateBehavior sessionStateBehavior)
-
Methods inherited from class system.web.HttpContextBase
getAllErrors, getAllowAsyncDuringSyncStages, getApplication, getApplicationInstance, getAsyncPreloadMode, getCache, getCurrentHandler, getCurrentNotification, getError, getHandler, getIsCustomErrorEnabled, getIsDebuggingEnabled, getIsPostNotification, getIsWebSocketRequest, getIsWebSocketRequestUpgrading, getItems, getPageInstrumentation, getPreviousHandler, getProfile, getRequest, getResponse, getServer, getSession, getSkipAuthorization, getThreadAbortOnTimeout, getTimestamp, getTrace, getUser, getWebSocketNegotiatedProtocol, setAllowAsyncDuringSyncStages, setApplicationInstance, setAsyncPreloadMode, setHandler, setSkipAuthorization, setThreadAbortOnTimeout, setUser
-
-
-
-
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.HttpContextWrapper- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HttpContextWrapper
public HttpContextWrapper(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
HttpContextWrapper
public HttpContextWrapper() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
HttpContextWrapper
public HttpContextWrapper(HttpContext httpContext) 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 classHttpContextBase
- 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 classHttpContextBase
- 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 classHttpContextBase
- 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 classHttpContextBase
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classHttpContextBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classHttpContextBase
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static HttpContextWrapper cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoHttpContextWrapper
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HttpContextWrapper
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetGlobalResourceObject
public NetObject GetGlobalResourceObject(java.lang.String classKey, java.lang.String resourceKey) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, HttpException, ConfigurationException, ProviderException, NotSupportedException, NullReferenceException, ConfigurationErrorsException
- Overrides:
GetGlobalResourceObject
in classHttpContextBase
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentNullException
ArgumentException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
HttpException
ConfigurationException
ProviderException
NotSupportedException
NullReferenceException
ConfigurationErrorsException
-
GetGlobalResourceObject
public NetObject GetGlobalResourceObject(java.lang.String classKey, java.lang.String resourceKey, CultureInfo culture) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, HttpException, ConfigurationException, ProviderException, NotSupportedException, NullReferenceException, ConfigurationErrorsException, CultureNotFoundException
- Overrides:
GetGlobalResourceObject
in classHttpContextBase
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
HttpException
ConfigurationException
ProviderException
NotSupportedException
NullReferenceException
ConfigurationErrorsException
CultureNotFoundException
-
GetLocalResourceObject
public NetObject GetLocalResourceObject(java.lang.String virtualPath, java.lang.String resourceKey) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, HttpException, OutOfMemoryException, ConfigurationException, ProviderException, NotSupportedException, NullReferenceException, ConfigurationErrorsException
- Overrides:
GetLocalResourceObject
in classHttpContextBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
HttpException
OutOfMemoryException
ConfigurationException
ProviderException
NotSupportedException
NullReferenceException
ConfigurationErrorsException
-
GetLocalResourceObject
public NetObject GetLocalResourceObject(java.lang.String virtualPath, java.lang.String resourceKey, CultureInfo culture) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, HttpException, OutOfMemoryException, NotSupportedException, ConfigurationException, ProviderException, ConfigurationErrorsException, NullReferenceException, MemberAccessException
- Overrides:
GetLocalResourceObject
in classHttpContextBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
HttpException
OutOfMemoryException
NotSupportedException
ConfigurationException
ProviderException
ConfigurationErrorsException
NullReferenceException
MemberAccessException
-
GetSection
public NetObject GetSection(java.lang.String sectionName) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, HttpException, HttpRequestValidationException, ProviderException, ConfigurationErrorsException
- Overrides:
GetSection
in classHttpContextBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
MissingManifestResourceException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
HttpException
HttpRequestValidationException
ProviderException
ConfigurationErrorsException
-
GetService
public NetObject GetService(NetType serviceType) throws java.lang.Throwable
- Overrides:
GetService
in classHttpContextBase
- Throws:
java.lang.Throwable
-
DisposeOnPipelineCompleted
public ISubscriptionToken DisposeOnPipelineCompleted(IDisposable target) throws java.lang.Throwable, ArgumentNullException
- Overrides:
DisposeOnPipelineCompleted
in classHttpContextBase
- Throws:
java.lang.Throwable
ArgumentNullException
-
AddError
public void AddError(NetException errorInfo) throws java.lang.Throwable, ArgumentOutOfRangeException
- Overrides:
AddError
in classHttpContextBase
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
-
ClearError
public void ClearError() throws java.lang.Throwable
- Overrides:
ClearError
in classHttpContextBase
- Throws:
java.lang.Throwable
-
RemapHandler
public void RemapHandler(IHttpHandler handler) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException
- Overrides:
RemapHandler
in classHttpContextBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
-
RewritePath
public void RewritePath(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, HttpException, OutOfMemoryException, ThreadAbortException, HttpRequestValidationException, NotSupportedException
- Overrides:
RewritePath
in classHttpContextBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
HttpException
OutOfMemoryException
ThreadAbortException
HttpRequestValidationException
NotSupportedException
-
RewritePath
public void RewritePath(java.lang.String path, boolean rebaseClientPath) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, HttpException, OutOfMemoryException, ProviderException, ConfigurationErrorsException, ThreadAbortException, HttpRequestValidationException, NotSupportedException
- Overrides:
RewritePath
in classHttpContextBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
FormatException
HttpException
OutOfMemoryException
ProviderException
ConfigurationErrorsException
ThreadAbortException
HttpRequestValidationException
NotSupportedException
-
RewritePath
public void RewritePath(java.lang.String filePath, java.lang.String pathInfo, java.lang.String queryString) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, HttpException, OutOfMemoryException, NotSupportedException, ThreadAbortException, HttpRequestValidationException
- Overrides:
RewritePath
in classHttpContextBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
HttpException
OutOfMemoryException
NotSupportedException
ThreadAbortException
HttpRequestValidationException
-
RewritePath
public void RewritePath(java.lang.String filePath, java.lang.String pathInfo, java.lang.String queryString, boolean setClientFilePath) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, HttpException, OutOfMemoryException, NotSupportedException, ThreadAbortException, HttpRequestValidationException
- Overrides:
RewritePath
in classHttpContextBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
HttpException
OutOfMemoryException
NotSupportedException
ThreadAbortException
HttpRequestValidationException
-
SetSessionStateBehavior
public void SetSessionStateBehavior(SessionStateBehavior sessionStateBehavior) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
- Overrides:
SetSessionStateBehavior
in classHttpContextBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
-
-