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.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.HttpContextWrapperstatic JCTypeclassTypeThe 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 voidAddError(NetException errorInfo)static HttpContextWrappercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoHttpContextWrapper, a cast assert is made to check if types are compatible.voidClearError()ISubscriptionTokenDisposeOnPipelineCompleted(IDisposable target)NetObjectGetGlobalResourceObject(java.lang.String classKey, java.lang.String resourceKey)NetObjectGetGlobalResourceObject(java.lang.String classKey, java.lang.String resourceKey, CultureInfo culture)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeNetObjectGetLocalResourceObject(java.lang.String virtualPath, java.lang.String resourceKey)NetObjectGetLocalResourceObject(java.lang.String virtualPath, java.lang.String resourceKey, CultureInfo culture)NetObjectGetSection(java.lang.String sectionName)NetObjectGetService(NetType serviceType)voidRemapHandler(IHttpHandler handler)voidRewritePath(java.lang.String path)voidRewritePath(java.lang.String path, boolean rebaseClientPath)voidRewritePath(java.lang.String filePath, java.lang.String pathInfo, java.lang.String queryString)voidRewritePath(java.lang.String filePath, java.lang.String pathInfo, java.lang.String queryString, boolean setClientFilePath)voidsetJCOInstance(JCObject instance)voidSetSessionStateBehavior(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.ThrowableInternal 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.ThrowableArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classHttpContextBase- 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 classHttpContextBase- 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 classHttpContextBase- 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 classHttpContextBase- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classHttpContextBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classHttpContextBase- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static HttpContextWrapper cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoHttpContextWrapper, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
HttpContextWrapperinstance- 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:
GetGlobalResourceObjectin classHttpContextBase- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionHttpExceptionConfigurationExceptionProviderExceptionNotSupportedExceptionNullReferenceExceptionConfigurationErrorsException
-
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:
GetGlobalResourceObjectin classHttpContextBase- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionHttpExceptionConfigurationExceptionProviderExceptionNotSupportedExceptionNullReferenceExceptionConfigurationErrorsExceptionCultureNotFoundException
-
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:
GetLocalResourceObjectin classHttpContextBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionHttpExceptionOutOfMemoryExceptionConfigurationExceptionProviderExceptionNotSupportedExceptionNullReferenceExceptionConfigurationErrorsException
-
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:
GetLocalResourceObjectin classHttpContextBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionHttpExceptionOutOfMemoryExceptionNotSupportedExceptionConfigurationExceptionProviderExceptionConfigurationErrorsExceptionNullReferenceExceptionMemberAccessException
-
GetSection
public NetObject GetSection(java.lang.String sectionName) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, HttpException, HttpRequestValidationException, ProviderException, ConfigurationErrorsException
- Overrides:
GetSectionin classHttpContextBase- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionHttpExceptionHttpRequestValidationExceptionProviderExceptionConfigurationErrorsException
-
GetService
public NetObject GetService(NetType serviceType) throws java.lang.Throwable
- Overrides:
GetServicein classHttpContextBase- Throws:
java.lang.Throwable
-
DisposeOnPipelineCompleted
public ISubscriptionToken DisposeOnPipelineCompleted(IDisposable target) throws java.lang.Throwable, ArgumentNullException
- Overrides:
DisposeOnPipelineCompletedin classHttpContextBase- Throws:
java.lang.ThrowableArgumentNullException
-
AddError
public void AddError(NetException errorInfo) throws java.lang.Throwable, ArgumentOutOfRangeException
- Overrides:
AddErrorin classHttpContextBase- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
ClearError
public void ClearError() throws java.lang.Throwable- Overrides:
ClearErrorin 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:
RemapHandlerin classHttpContextBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedException
-
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:
RewritePathin classHttpContextBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionHttpExceptionOutOfMemoryExceptionThreadAbortExceptionHttpRequestValidationExceptionNotSupportedException
-
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:
RewritePathin classHttpContextBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionHttpExceptionOutOfMemoryExceptionProviderExceptionConfigurationErrorsExceptionThreadAbortExceptionHttpRequestValidationExceptionNotSupportedException
-
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:
RewritePathin classHttpContextBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionHttpExceptionOutOfMemoryExceptionNotSupportedExceptionThreadAbortExceptionHttpRequestValidationException
-
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:
RewritePathin classHttpContextBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionHttpExceptionOutOfMemoryExceptionNotSupportedExceptionThreadAbortExceptionHttpRequestValidationException
-
SetSessionStateBehavior
public void SetSessionStateBehavior(SessionStateBehavior sessionStateBehavior) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
- Overrides:
SetSessionStateBehaviorin classHttpContextBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeException
-
-