Package system.web
Class HttpContextBase
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.HttpContextBase
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
HttpContextWrapper
public class HttpContextBase extends NetObject
The base .NET class managing System.Web.HttpContextBase, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.HttpContextBase
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.HttpContextBasestatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HttpContextBase()
HttpContextBase(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
AddError(NetException errorInfo)
static HttpContextBase
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoHttpContextBase
, a cast assert is made to check if types are compatible.void
ClearError()
ISubscriptionToken
DisposeOnPipelineCompleted(IDisposable target)
NetException[]
getAllErrors()
boolean
getAllowAsyncDuringSyncStages()
HttpApplicationStateBase
getApplication()
HttpApplication
getApplicationInstance()
AsyncPreloadModeFlags
getAsyncPreloadMode()
Cache
getCache()
IHttpHandler
getCurrentHandler()
RequestNotification
getCurrentNotification()
NetException
getError()
NetObject
GetGlobalResourceObject(java.lang.String classKey, java.lang.String resourceKey)
NetObject
GetGlobalResourceObject(java.lang.String classKey, java.lang.String resourceKey, CultureInfo culture)
IHttpHandler
getHandler()
boolean
getIsCustomErrorEnabled()
boolean
getIsDebuggingEnabled()
boolean
getIsPostNotification()
boolean
getIsWebSocketRequest()
boolean
getIsWebSocketRequestUpgrading()
IDictionary
getItems()
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 objectorg.mases.jcobridge.JCType
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)
PageInstrumentationService
getPageInstrumentation()
IHttpHandler
getPreviousHandler()
ProfileBase
getProfile()
HttpRequestBase
getRequest()
HttpResponseBase
getResponse()
NetObject
GetSection(java.lang.String sectionName)
HttpServerUtilityBase
getServer()
NetObject
GetService(NetType serviceType)
HttpSessionStateBase
getSession()
boolean
getSkipAuthorization()
boolean
getThreadAbortOnTimeout()
DateTime
getTimestamp()
TraceContext
getTrace()
IPrincipal
getUser()
java.lang.String
getWebSocketNegotiatedProtocol()
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
setAllowAsyncDuringSyncStages(boolean AllowAsyncDuringSyncStages)
void
setApplicationInstance(HttpApplication ApplicationInstance)
void
setAsyncPreloadMode(AsyncPreloadModeFlags AsyncPreloadMode)
void
setHandler(IHttpHandler Handler)
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
void
SetSessionStateBehavior(SessionStateBehavior sessionStateBehavior)
void
setSkipAuthorization(boolean SkipAuthorization)
void
setThreadAbortOnTimeout(boolean ThreadAbortOnTimeout)
void
setUser(IPrincipal User)
-
-
-
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.HttpContextBase- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
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(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public org.mases.jcobridge.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 HttpContextBase cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoHttpContextBase
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HttpContextBase
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, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetGlobalResourceObject
public NetObject GetGlobalResourceObject(java.lang.String classKey, java.lang.String resourceKey, CultureInfo culture) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetLocalResourceObject
public NetObject GetLocalResourceObject(java.lang.String virtualPath, java.lang.String resourceKey) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetLocalResourceObject
public NetObject GetLocalResourceObject(java.lang.String virtualPath, java.lang.String resourceKey, CultureInfo culture) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetSection
public NetObject GetSection(java.lang.String sectionName) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
GetService
public NetObject GetService(NetType serviceType) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
DisposeOnPipelineCompleted
public ISubscriptionToken DisposeOnPipelineCompleted(IDisposable target) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
AddError
public void AddError(NetException errorInfo) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
ClearError
public void ClearError() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
RemapHandler
public void RemapHandler(IHttpHandler handler) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
RewritePath
public void RewritePath(java.lang.String path) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
RewritePath
public void RewritePath(java.lang.String path, boolean rebaseClientPath) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
RewritePath
public void RewritePath(java.lang.String filePath, java.lang.String pathInfo, java.lang.String queryString) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
RewritePath
public void RewritePath(java.lang.String filePath, java.lang.String pathInfo, java.lang.String queryString, boolean setClientFilePath) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
SetSessionStateBehavior
public void SetSessionStateBehavior(SessionStateBehavior sessionStateBehavior) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getAllowAsyncDuringSyncStages
public boolean getAllowAsyncDuringSyncStages() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
setAllowAsyncDuringSyncStages
public void setAllowAsyncDuringSyncStages(boolean AllowAsyncDuringSyncStages) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getIsCustomErrorEnabled
public boolean getIsCustomErrorEnabled() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getIsDebuggingEnabled
public boolean getIsDebuggingEnabled() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getIsPostNotification
public boolean getIsPostNotification() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getIsWebSocketRequest
public boolean getIsWebSocketRequest() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getIsWebSocketRequestUpgrading
public boolean getIsWebSocketRequestUpgrading() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getSkipAuthorization
public boolean getSkipAuthorization() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
setSkipAuthorization
public void setSkipAuthorization(boolean SkipAuthorization) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getThreadAbortOnTimeout
public boolean getThreadAbortOnTimeout() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
setThreadAbortOnTimeout
public void setThreadAbortOnTimeout(boolean ThreadAbortOnTimeout) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getItems
public IDictionary getItems() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getTimestamp
public DateTime getTimestamp() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getError
public NetException getError() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getAllErrors
public final NetException[] getAllErrors() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getUser
public IPrincipal getUser() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
setUser
public void setUser(IPrincipal User) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getWebSocketNegotiatedProtocol
public java.lang.String getWebSocketNegotiatedProtocol() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getCache
public Cache getCache() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getAsyncPreloadMode
public AsyncPreloadModeFlags getAsyncPreloadMode() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
setAsyncPreloadMode
public void setAsyncPreloadMode(AsyncPreloadModeFlags AsyncPreloadMode) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getApplicationInstance
public HttpApplication getApplicationInstance() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
setApplicationInstance
public void setApplicationInstance(HttpApplication ApplicationInstance) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getApplication
public HttpApplicationStateBase getApplication() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getRequest
public HttpRequestBase getRequest() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getResponse
public HttpResponseBase getResponse() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getServer
public HttpServerUtilityBase getServer() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getSession
public HttpSessionStateBase getSession() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getCurrentHandler
public IHttpHandler getCurrentHandler() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getHandler
public IHttpHandler getHandler() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
setHandler
public void setHandler(IHttpHandler Handler) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getPreviousHandler
public IHttpHandler getPreviousHandler() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getPageInstrumentation
public PageInstrumentationService getPageInstrumentation() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getProfile
public ProfileBase getProfile() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getCurrentNotification
public RequestNotification getCurrentNotification() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getTrace
public TraceContext getTrace() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
-