Package system.web.hosting
Class SimpleWorkerRequest
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.HttpWorkerRequest
-
- system.web.hosting.SimpleWorkerRequest
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class SimpleWorkerRequest extends HttpWorkerRequest
The base .NET class managing System.Web.Hosting.SimpleWorkerRequest, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.Hosting.SimpleWorkerRequest
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.Hosting.SimpleWorkerRequeststatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SimpleWorkerRequest()
SimpleWorkerRequest(java.lang.Object instance)
Internal constructor.SimpleWorkerRequest(java.lang.String appVirtualDir, java.lang.String appPhysicalDir, java.lang.String page, java.lang.String query, TextWriter output)
SimpleWorkerRequest(java.lang.String page, java.lang.String query, TextWriter output)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimpleWorkerRequest
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSimpleWorkerRequest
, a cast assert is made to check if types are compatible.void
EndOfRequest()
void
FlushResponse(boolean finalFlush)
java.lang.String
GetAppPath()
java.lang.String
GetAppPathTranslated()
java.lang.String
GetFilePath()
java.lang.String
GetFilePathTranslated()
java.lang.String
GetHttpVerbName()
java.lang.String
GetHttpVersion()
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
GetLocalAddress()
int
GetLocalPort()
java.lang.String
GetPathInfo()
java.lang.String
GetQueryString()
java.lang.String
GetRawUrl()
java.lang.String
GetRemoteAddress()
int
GetRemotePort()
java.lang.String
GetServerVariable(java.lang.String name)
java.lang.String
GetUriPath()
java.lang.String
MapPath(java.lang.String path)
void
SendKnownResponseHeader(int index, java.lang.String value)
void
SendResponseFromFile(java.lang.String filename, long offset, long length)
void
SendResponseFromMemory(byte[] data, int length)
void
SendResponseFromMemory(JCORefOut dupParam0, int dupParam1)
void
SendStatus(int statusCode, java.lang.String statusDescription)
void
SendUnknownResponseHeader(java.lang.String name, java.lang.String value)
void
setJCOInstance(JCObject instance)
-
Methods inherited from class system.web.HttpWorkerRequest
BeginFlush, BeginRead, BeginRead, CloseConnection, EndFlush, EndRead, GetAppPoolID, GetBytesRead, GetClientCertificate, GetClientCertificateBinaryIssuer, GetClientCertificateEncoding, GetClientCertificatePublicKey, GetClientCertificateValidFrom, GetClientCertificateValidUntil, GetConnectionID, GetKnownRequestHeader, GetKnownRequestHeaderIndex, GetKnownRequestHeaderName, GetKnownResponseHeaderIndex, GetKnownResponseHeaderName, getMachineConfigPath, getMachineInstallDirectory, GetPreloadedEntityBody, GetPreloadedEntityBody, GetPreloadedEntityBody, GetPreloadedEntityBodyLength, GetProtocol, GetQueryStringRawBytes, GetRemoteName, GetRequestReason, getRequestTraceIdentifier, getRootWebConfigPath, GetServerName, GetStatusDescription, getSupportsAsyncFlush, getSupportsAsyncRead, GetTotalEntityBodyLength, GetUnknownRequestHeader, GetUrlContextID, HasEntityBody, HeadersSent, IsClientConnected, IsEntireEntityBodyIsPreloaded, IsSecure, ReadEntityBody, ReadEntityBody, ReadEntityBody, ReadEntityBody, SendCalculatedContentLength, SendCalculatedContentLength
-
-
-
-
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.Hosting.SimpleWorkerRequest- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SimpleWorkerRequest
public SimpleWorkerRequest(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SimpleWorkerRequest
public SimpleWorkerRequest() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SimpleWorkerRequest
public SimpleWorkerRequest(java.lang.String page, java.lang.String query, TextWriter output) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, NullReferenceException, ArgumentException, CultureNotFoundException, IndexOutOfRangeException, PathTooLongException, MemberAccessException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
NullReferenceException
ArgumentException
CultureNotFoundException
IndexOutOfRangeException
PathTooLongException
MemberAccessException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
-
SimpleWorkerRequest
public SimpleWorkerRequest(java.lang.String appVirtualDir, java.lang.String appPhysicalDir, java.lang.String page, java.lang.String query, TextWriter output) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, NullReferenceException, ArgumentException, CultureNotFoundException, IndexOutOfRangeException, PathTooLongException, MemberAccessException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, HttpException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
NullReferenceException
ArgumentException
CultureNotFoundException
IndexOutOfRangeException
PathTooLongException
MemberAccessException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
AbandonedMutexException
HttpException
-
-
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 classHttpWorkerRequest
- 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 classHttpWorkerRequest
- 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 classHttpWorkerRequest
- 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 classHttpWorkerRequest
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classHttpWorkerRequest
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classHttpWorkerRequest
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SimpleWorkerRequest cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSimpleWorkerRequest
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SimpleWorkerRequest
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetLocalPort
public int GetLocalPort() throws java.lang.Throwable
- Overrides:
GetLocalPort
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
GetRemotePort
public int GetRemotePort() throws java.lang.Throwable
- Overrides:
GetRemotePort
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
GetAppPath
public java.lang.String GetAppPath() throws java.lang.Throwable
- Overrides:
GetAppPath
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
GetAppPathTranslated
public java.lang.String GetAppPathTranslated() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException
- Overrides:
GetAppPathTranslated
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
IndexOutOfRangeException
CultureNotFoundException
InvalidOperationException
NotSupportedException
-
GetFilePath
public java.lang.String GetFilePath() throws java.lang.Throwable, NullReferenceException, IndexOutOfRangeException
- Overrides:
GetFilePath
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
NullReferenceException
IndexOutOfRangeException
-
GetFilePathTranslated
public java.lang.String GetFilePathTranslated() throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, CultureNotFoundException, InvalidOperationException, NotSupportedException
- Overrides:
GetFilePathTranslated
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
IndexOutOfRangeException
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
CultureNotFoundException
InvalidOperationException
NotSupportedException
-
GetHttpVerbName
public java.lang.String GetHttpVerbName() throws java.lang.Throwable
- Overrides:
GetHttpVerbName
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
GetHttpVersion
public java.lang.String GetHttpVersion() throws java.lang.Throwable
- Overrides:
GetHttpVersion
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
GetLocalAddress
public java.lang.String GetLocalAddress() throws java.lang.Throwable
- Overrides:
GetLocalAddress
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
GetPathInfo
public java.lang.String GetPathInfo() throws java.lang.Throwable
- Overrides:
GetPathInfo
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
GetQueryString
public java.lang.String GetQueryString() throws java.lang.Throwable
- Overrides:
GetQueryString
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
GetRawUrl
public java.lang.String GetRawUrl() throws java.lang.Throwable, NullReferenceException, IndexOutOfRangeException
- Overrides:
GetRawUrl
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
NullReferenceException
IndexOutOfRangeException
-
GetRemoteAddress
public java.lang.String GetRemoteAddress() throws java.lang.Throwable
- Overrides:
GetRemoteAddress
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
GetServerVariable
public java.lang.String GetServerVariable(java.lang.String name) throws java.lang.Throwable
- Overrides:
GetServerVariable
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
GetUriPath
public java.lang.String GetUriPath() throws java.lang.Throwable, NullReferenceException, IndexOutOfRangeException
- Overrides:
GetUriPath
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
NullReferenceException
IndexOutOfRangeException
-
MapPath
public java.lang.String MapPath(java.lang.String path) throws java.lang.Throwable, ArgumentOutOfRangeException, NullReferenceException, IndexOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, CultureNotFoundException, InvalidOperationException, NotSupportedException
- Overrides:
MapPath
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
NullReferenceException
IndexOutOfRangeException
ArgumentNullException
ArgumentException
FormatException
CultureNotFoundException
InvalidOperationException
NotSupportedException
-
EndOfRequest
public void EndOfRequest() throws java.lang.Throwable
- Overrides:
EndOfRequest
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
FlushResponse
public void FlushResponse(boolean finalFlush) throws java.lang.Throwable
- Overrides:
FlushResponse
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
SendKnownResponseHeader
public void SendKnownResponseHeader(int index, java.lang.String value) throws java.lang.Throwable
- Overrides:
SendKnownResponseHeader
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
SendResponseFromFile
public void SendResponseFromFile(java.lang.String filename, long offset, long length) throws java.lang.Throwable
- Overrides:
SendResponseFromFile
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
SendResponseFromMemory
public void SendResponseFromMemory(byte[] data, int length) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, NotSupportedException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException
- Overrides:
SendResponseFromMemory
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
NotSupportedException
ObjectDisposedException
AbandonedMutexException
ArgumentException
InvalidOperationException
-
SendResponseFromMemory
public void SendResponseFromMemory(JCORefOut dupParam0, int dupParam1) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, NotSupportedException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException
- Overrides:
SendResponseFromMemory
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
NotSupportedException
ObjectDisposedException
AbandonedMutexException
ArgumentException
InvalidOperationException
-
SendStatus
public void SendStatus(int statusCode, java.lang.String statusDescription) throws java.lang.Throwable
- Overrides:
SendStatus
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
SendUnknownResponseHeader
public void SendUnknownResponseHeader(java.lang.String name, java.lang.String value) throws java.lang.Throwable
- Overrides:
SendUnknownResponseHeader
in classHttpWorkerRequest
- Throws:
java.lang.Throwable
-
-