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.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.Hosting.SimpleWorkerRequeststatic JCTypeclassTypeThe 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 SimpleWorkerRequestcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoSimpleWorkerRequest, a cast assert is made to check if types are compatible.voidEndOfRequest()voidFlushResponse(boolean finalFlush)java.lang.StringGetAppPath()java.lang.StringGetAppPathTranslated()java.lang.StringGetFilePath()java.lang.StringGetFilePathTranslated()java.lang.StringGetHttpVerbName()java.lang.StringGetHttpVersion()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 Typejava.lang.StringGetLocalAddress()intGetLocalPort()java.lang.StringGetPathInfo()java.lang.StringGetQueryString()java.lang.StringGetRawUrl()java.lang.StringGetRemoteAddress()intGetRemotePort()java.lang.StringGetServerVariable(java.lang.String name)java.lang.StringGetUriPath()java.lang.StringMapPath(java.lang.String path)voidSendKnownResponseHeader(int index, java.lang.String value)voidSendResponseFromFile(java.lang.String filename, long offset, long length)voidSendResponseFromMemory(byte[] data, int length)voidSendResponseFromMemory(JCORefOut dupParam0, int dupParam1)voidSendStatus(int statusCode, java.lang.String statusDescription)voidSendUnknownResponseHeader(java.lang.String name, java.lang.String value)voidsetJCOInstance(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.ThrowableInternal 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.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionNullReferenceExceptionArgumentExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionPathTooLongExceptionMemberAccessExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedException
-
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.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionNullReferenceExceptionArgumentExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionPathTooLongExceptionMemberAccessExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionHttpException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classHttpWorkerRequest- 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 classHttpWorkerRequest- 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 classHttpWorkerRequest- 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 classHttpWorkerRequest- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classHttpWorkerRequest
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classHttpWorkerRequest- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static SimpleWorkerRequest cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSimpleWorkerRequest, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SimpleWorkerRequestinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetLocalPort
public int GetLocalPort() throws java.lang.Throwable- Overrides:
GetLocalPortin classHttpWorkerRequest- Throws:
java.lang.Throwable
-
GetRemotePort
public int GetRemotePort() throws java.lang.Throwable- Overrides:
GetRemotePortin classHttpWorkerRequest- Throws:
java.lang.Throwable
-
GetAppPath
public java.lang.String GetAppPath() throws java.lang.Throwable- Overrides:
GetAppPathin classHttpWorkerRequest- Throws:
java.lang.Throwable
-
GetAppPathTranslated
public java.lang.String GetAppPathTranslated() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException- Overrides:
GetAppPathTranslatedin classHttpWorkerRequest- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedException
-
GetFilePath
public java.lang.String GetFilePath() throws java.lang.Throwable, NullReferenceException, IndexOutOfRangeException- Overrides:
GetFilePathin classHttpWorkerRequest- Throws:
java.lang.ThrowableNullReferenceExceptionIndexOutOfRangeException
-
GetFilePathTranslated
public java.lang.String GetFilePathTranslated() throws java.lang.Throwable, IndexOutOfRangeException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, CultureNotFoundException, InvalidOperationException, NotSupportedException- Overrides:
GetFilePathTranslatedin classHttpWorkerRequest- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedException
-
GetHttpVerbName
public java.lang.String GetHttpVerbName() throws java.lang.Throwable- Overrides:
GetHttpVerbNamein classHttpWorkerRequest- Throws:
java.lang.Throwable
-
GetHttpVersion
public java.lang.String GetHttpVersion() throws java.lang.Throwable- Overrides:
GetHttpVersionin classHttpWorkerRequest- Throws:
java.lang.Throwable
-
GetLocalAddress
public java.lang.String GetLocalAddress() throws java.lang.Throwable- Overrides:
GetLocalAddressin classHttpWorkerRequest- Throws:
java.lang.Throwable
-
GetPathInfo
public java.lang.String GetPathInfo() throws java.lang.Throwable- Overrides:
GetPathInfoin classHttpWorkerRequest- Throws:
java.lang.Throwable
-
GetQueryString
public java.lang.String GetQueryString() throws java.lang.Throwable- Overrides:
GetQueryStringin classHttpWorkerRequest- Throws:
java.lang.Throwable
-
GetRawUrl
public java.lang.String GetRawUrl() throws java.lang.Throwable, NullReferenceException, IndexOutOfRangeException- Overrides:
GetRawUrlin classHttpWorkerRequest- Throws:
java.lang.ThrowableNullReferenceExceptionIndexOutOfRangeException
-
GetRemoteAddress
public java.lang.String GetRemoteAddress() throws java.lang.Throwable- Overrides:
GetRemoteAddressin classHttpWorkerRequest- Throws:
java.lang.Throwable
-
GetServerVariable
public java.lang.String GetServerVariable(java.lang.String name) throws java.lang.Throwable- Overrides:
GetServerVariablein classHttpWorkerRequest- Throws:
java.lang.Throwable
-
GetUriPath
public java.lang.String GetUriPath() throws java.lang.Throwable, NullReferenceException, IndexOutOfRangeException- Overrides:
GetUriPathin classHttpWorkerRequest- Throws:
java.lang.ThrowableNullReferenceExceptionIndexOutOfRangeException
-
MapPath
public java.lang.String MapPath(java.lang.String path) throws java.lang.Throwable, ArgumentOutOfRangeException, NullReferenceException, IndexOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, CultureNotFoundException, InvalidOperationException, NotSupportedException- Overrides:
MapPathin classHttpWorkerRequest- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionNullReferenceExceptionIndexOutOfRangeExceptionArgumentNullExceptionArgumentExceptionFormatExceptionCultureNotFoundExceptionInvalidOperationExceptionNotSupportedException
-
EndOfRequest
public void EndOfRequest() throws java.lang.Throwable- Overrides:
EndOfRequestin classHttpWorkerRequest- Throws:
java.lang.Throwable
-
FlushResponse
public void FlushResponse(boolean finalFlush) throws java.lang.Throwable- Overrides:
FlushResponsein classHttpWorkerRequest- Throws:
java.lang.Throwable
-
SendKnownResponseHeader
public void SendKnownResponseHeader(int index, java.lang.String value) throws java.lang.Throwable- Overrides:
SendKnownResponseHeaderin classHttpWorkerRequest- Throws:
java.lang.Throwable
-
SendResponseFromFile
public void SendResponseFromFile(java.lang.String filename, long offset, long length) throws java.lang.Throwable- Overrides:
SendResponseFromFilein 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:
SendResponseFromMemoryin classHttpWorkerRequest- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionNotSupportedExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionInvalidOperationException
-
SendResponseFromMemory
public void SendResponseFromMemory(JCORefOut dupParam0, int dupParam1) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, NotSupportedException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException
- Overrides:
SendResponseFromMemoryin classHttpWorkerRequest- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionNotSupportedExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionInvalidOperationException
-
SendStatus
public void SendStatus(int statusCode, java.lang.String statusDescription) throws java.lang.Throwable- Overrides:
SendStatusin classHttpWorkerRequest- Throws:
java.lang.Throwable
-
SendUnknownResponseHeader
public void SendUnknownResponseHeader(java.lang.String name, java.lang.String value) throws java.lang.Throwable- Overrides:
SendUnknownResponseHeaderin classHttpWorkerRequest- Throws:
java.lang.Throwable
-
-