Package system.web
Class HttpWorkerRequest
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.HttpWorkerRequest
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
SimpleWorkerRequest
public class HttpWorkerRequest extends NetObject
The base .NET class managing System.Web.HttpWorkerRequest, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.HttpWorkerRequest
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.HttpWorkerRequeststatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HttpWorkerRequest()
HttpWorkerRequest(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IAsyncResult
BeginFlush(AsyncCallback callback, NetObject state)
IAsyncResult
BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, NetObject state)
IAsyncResult
BeginRead(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4)
static HttpWorkerRequest
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoHttpWorkerRequest
, a cast assert is made to check if types are compatible.void
CloseConnection()
void
EndFlush(IAsyncResult asyncResult)
void
EndOfRequest()
int
EndRead(IAsyncResult asyncResult)
void
FlushResponse(boolean finalFlush)
java.lang.String
GetAppPath()
java.lang.String
GetAppPathTranslated()
java.lang.String
GetAppPoolID()
long
GetBytesRead()
byte[]
GetClientCertificate()
byte[]
GetClientCertificateBinaryIssuer()
int
GetClientCertificateEncoding()
byte[]
GetClientCertificatePublicKey()
DateTime
GetClientCertificateValidFrom()
DateTime
GetClientCertificateValidUntil()
long
GetConnectionID()
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
GetKnownRequestHeader(int index)
static int
GetKnownRequestHeaderIndex(java.lang.String header)
static java.lang.String
GetKnownRequestHeaderName(int index)
static int
GetKnownResponseHeaderIndex(java.lang.String header)
static java.lang.String
GetKnownResponseHeaderName(int index)
java.lang.String
GetLocalAddress()
int
GetLocalPort()
java.lang.String
getMachineConfigPath()
java.lang.String
getMachineInstallDirectory()
java.lang.String
GetPathInfo()
byte[]
GetPreloadedEntityBody()
int
GetPreloadedEntityBody(byte[] buffer, int offset)
int
GetPreloadedEntityBody(JCORefOut dupParam0, int dupParam1)
int
GetPreloadedEntityBodyLength()
java.lang.String
GetProtocol()
java.lang.String
GetQueryString()
byte[]
GetQueryStringRawBytes()
java.lang.String
GetRawUrl()
java.lang.String
GetRemoteAddress()
java.lang.String
GetRemoteName()
int
GetRemotePort()
int
GetRequestReason()
Guid
getRequestTraceIdentifier()
java.lang.String
getRootWebConfigPath()
java.lang.String
GetServerName()
java.lang.String
GetServerVariable(java.lang.String name)
static java.lang.String
GetStatusDescription(int code)
boolean
getSupportsAsyncFlush()
boolean
getSupportsAsyncRead()
int
GetTotalEntityBodyLength()
java.lang.String
GetUnknownRequestHeader(java.lang.String name)
java.lang.String
GetUriPath()
long
GetUrlContextID()
boolean
HasEntityBody()
boolean
HeadersSent()
boolean
IsClientConnected()
boolean
IsEntireEntityBodyIsPreloaded()
boolean
IsSecure()
java.lang.String
MapPath(java.lang.String virtualPath)
int
ReadEntityBody(byte[] buffer, int size)
int
ReadEntityBody(byte[] buffer, int offset, int size)
int
ReadEntityBody(JCORefOut dupParam0, int dupParam1)
int
ReadEntityBody(JCORefOut dupParam0, int dupParam1, int dupParam2)
void
SendCalculatedContentLength(int contentLength)
void
SendCalculatedContentLength(long contentLength)
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)
-
-
-
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.HttpWorkerRequest- See Also:
- Constant Field Values
-
-
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(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public 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 HttpWorkerRequest cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoHttpWorkerRequest
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HttpWorkerRequest
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
HasEntityBody
public boolean HasEntityBody() throws java.lang.Throwable, NullReferenceException
- Throws:
java.lang.Throwable
NullReferenceException
-
HeadersSent
public boolean HeadersSent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsClientConnected
public boolean IsClientConnected() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsEntireEntityBodyIsPreloaded
public boolean IsEntireEntityBodyIsPreloaded() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsSecure
public boolean IsSecure() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetClientCertificate
public byte[] GetClientCertificate() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetClientCertificateBinaryIssuer
public byte[] GetClientCertificateBinaryIssuer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetClientCertificatePublicKey
public byte[] GetClientCertificatePublicKey() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetPreloadedEntityBody
public byte[] GetPreloadedEntityBody() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetQueryStringRawBytes
public byte[] GetQueryStringRawBytes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
EndRead
public int EndRead(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
-
GetClientCertificateEncoding
public int GetClientCertificateEncoding() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetKnownRequestHeaderIndex
public static int GetKnownRequestHeaderIndex(java.lang.String header) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
GetKnownResponseHeaderIndex
public static int GetKnownResponseHeaderIndex(java.lang.String header) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
GetLocalPort
public int GetLocalPort() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetPreloadedEntityBody
public int GetPreloadedEntityBody(byte[] buffer, int offset) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetPreloadedEntityBody
public int GetPreloadedEntityBody(JCORefOut dupParam0, int dupParam1) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetPreloadedEntityBodyLength
public int GetPreloadedEntityBodyLength() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetRemotePort
public int GetRemotePort() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetRequestReason
public int GetRequestReason() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetTotalEntityBodyLength
public int GetTotalEntityBodyLength() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, OverflowException
-
ReadEntityBody
public int ReadEntityBody(byte[] buffer, int size) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ReadEntityBody
public int ReadEntityBody(JCORefOut dupParam0, int dupParam1) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ReadEntityBody
public int ReadEntityBody(byte[] buffer, int offset, int size) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
-
ReadEntityBody
public int ReadEntityBody(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
-
GetBytesRead
public long GetBytesRead() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetConnectionID
public long GetConnectionID() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetUrlContextID
public long GetUrlContextID() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetClientCertificateValidFrom
public DateTime GetClientCertificateValidFrom() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidTimeZoneException, OverflowException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
InvalidTimeZoneException
OverflowException
NotSupportedException
-
GetClientCertificateValidUntil
public DateTime GetClientCertificateValidUntil() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidTimeZoneException, OverflowException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
InvalidTimeZoneException
OverflowException
NotSupportedException
-
BeginFlush
public IAsyncResult BeginFlush(AsyncCallback callback, NetObject state) throws java.lang.Throwable, NotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
-
BeginRead
public IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, NetObject state) throws java.lang.Throwable, NotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
-
BeginRead
public IAsyncResult BeginRead(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, NotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
-
GetAppPath
public java.lang.String GetAppPath() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetAppPathTranslated
public java.lang.String GetAppPathTranslated() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetAppPoolID
public java.lang.String GetAppPoolID() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetFilePath
public java.lang.String GetFilePath() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetFilePathTranslated
public java.lang.String GetFilePathTranslated() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetHttpVerbName
public java.lang.String GetHttpVerbName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetHttpVersion
public java.lang.String GetHttpVersion() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetKnownRequestHeader
public java.lang.String GetKnownRequestHeader(int index) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetKnownRequestHeaderName
public static java.lang.String GetKnownRequestHeaderName(int index) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetKnownResponseHeaderName
public static java.lang.String GetKnownResponseHeaderName(int index) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetLocalAddress
public java.lang.String GetLocalAddress() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetPathInfo
public java.lang.String GetPathInfo() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetProtocol
public java.lang.String GetProtocol() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetQueryString
public java.lang.String GetQueryString() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetRawUrl
public java.lang.String GetRawUrl() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetRemoteAddress
public java.lang.String GetRemoteAddress() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetRemoteName
public java.lang.String GetRemoteName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetServerName
public java.lang.String GetServerName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetServerVariable
public java.lang.String GetServerVariable(java.lang.String name) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetStatusDescription
public static java.lang.String GetStatusDescription(int code) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetUnknownRequestHeader
public java.lang.String GetUnknownRequestHeader(java.lang.String name) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetUriPath
public java.lang.String GetUriPath() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
MapPath
public java.lang.String MapPath(java.lang.String virtualPath) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CloseConnection
public void CloseConnection() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
EndFlush
public void EndFlush(IAsyncResult asyncResult) throws java.lang.Throwable, NotSupportedException
- Throws:
java.lang.Throwable
NotSupportedException
-
EndOfRequest
public void EndOfRequest() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
FlushResponse
public void FlushResponse(boolean finalFlush) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SendCalculatedContentLength
public void SendCalculatedContentLength(int contentLength) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SendCalculatedContentLength
public void SendCalculatedContentLength(long contentLength) throws java.lang.Throwable, OverflowException
- Throws:
java.lang.Throwable
OverflowException
-
SendKnownResponseHeader
public void SendKnownResponseHeader(int index, java.lang.String value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SendResponseFromFile
public void SendResponseFromFile(java.lang.String filename, long offset, long length) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SendResponseFromMemory
public void SendResponseFromMemory(byte[] data, int length) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SendResponseFromMemory
public void SendResponseFromMemory(JCORefOut dupParam0, int dupParam1) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SendStatus
public void SendStatus(int statusCode, java.lang.String statusDescription) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SendUnknownResponseHeader
public void SendUnknownResponseHeader(java.lang.String name, java.lang.String value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSupportsAsyncFlush
public boolean getSupportsAsyncFlush() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSupportsAsyncRead
public boolean getSupportsAsyncRead() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRequestTraceIdentifier
public Guid getRequestTraceIdentifier() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMachineConfigPath
public java.lang.String getMachineConfigPath() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMachineInstallDirectory
public java.lang.String getMachineInstallDirectory() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRootWebConfigPath
public java.lang.String getRootWebConfigPath() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-