Package system.web.websockets
Class AspNetWebSocketContext
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.net.websockets.WebSocketContext
-
- system.web.websockets.AspNetWebSocketContext
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class AspNetWebSocketContext extends WebSocketContext
The base .NET class managing System.Web.WebSockets.AspNetWebSocketContext, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.WebSockets.AspNetWebSocketContext
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.WebSockets.AspNetWebSocketContextstatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description AspNetWebSocketContext()
AspNetWebSocketContext(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AspNetWebSocketContext
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoAspNetWebSocketContext
, a cast assert is made to check if types are compatible.java.lang.String
getAnonymousID()
HttpApplicationStateBase
getApplication()
java.lang.String
getApplicationPath()
Cache
getCache()
HttpClientCertificate
getClientCertificate()
static int
getConnectionCount()
HttpCookieCollection
getCookies()
java.lang.String
getFilePath()
boolean
getIsClientConnected()
boolean
getIsDebuggingEnabled()
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 TypeWindowsIdentity
getLogonUserIdentity()
java.lang.String
getPath()
java.lang.String
getPathInfo()
ProfileBase
getProfile()
NameValueCollection
getQueryString()
java.lang.String
getRawUrl()
HttpServerUtilityBase
getServer()
NameValueCollection
getServerVariables()
DateTime
getTimestamp()
UnvalidatedRequestValuesBase
getUnvalidated()
Uri
getUrlReferrer()
java.lang.String
getUserAgent()
java.lang.String
getUserHostAddress()
java.lang.String
getUserHostName()
java.lang.String[]
getUserLanguages()
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
-
Methods inherited from class system.net.websockets.WebSocketContext
getCookieCollection, getHeaders, getIsAuthenticated, getIsLocal, getIsSecureConnection, getOrigin, getRequestUri, getSecWebSocketKey, getSecWebSocketVersion, getUser, getWebSocket
-
-
-
-
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.WebSockets.AspNetWebSocketContext- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
AspNetWebSocketContext
public AspNetWebSocketContext(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
AspNetWebSocketContext
public AspNetWebSocketContext() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
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 classWebSocketContext
- 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 classWebSocketContext
- 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 classWebSocketContext
- 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 classWebSocketContext
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classWebSocketContext
-
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 classWebSocketContext
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static AspNetWebSocketContext cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoAspNetWebSocketContext
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
AspNetWebSocketContext
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getIsClientConnected
public boolean getIsClientConnected() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getIsDebuggingEnabled
public boolean getIsDebuggingEnabled() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getConnectionCount
public static int getConnectionCount() throws java.lang.Throwable, ArgumentException
- Throws:
java.lang.Throwable
ArgumentException
-
getItems
public IDictionary getItems() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getQueryString
public NameValueCollection getQueryString() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getServerVariables
public NameValueCollection getServerVariables() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getTimestamp
public DateTime getTimestamp() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getLogonUserIdentity
public WindowsIdentity getLogonUserIdentity() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getAnonymousID
public java.lang.String getAnonymousID() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getApplicationPath
public java.lang.String getApplicationPath() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getFilePath
public java.lang.String getFilePath() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getPath
public java.lang.String getPath() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getPathInfo
public java.lang.String getPathInfo() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getRawUrl
public java.lang.String getRawUrl() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getUserAgent
public java.lang.String getUserAgent() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getUserHostAddress
public java.lang.String getUserHostAddress() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getUserHostName
public java.lang.String getUserHostName() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getUserLanguages
public java.lang.String[] getUserLanguages() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getUrlReferrer
public Uri getUrlReferrer() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getCache
public Cache getCache() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getApplication
public HttpApplicationStateBase getApplication() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getClientCertificate
public HttpClientCertificate getClientCertificate() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getCookies
public HttpCookieCollection getCookies() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getServer
public HttpServerUtilityBase getServer() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getProfile
public ProfileBase getProfile() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
getUnvalidated
public UnvalidatedRequestValuesBase getUnvalidated() throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
-