Package system.web
Class HttpRequestWrapper
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.HttpRequestBase
-
- system.web.HttpRequestWrapper
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class HttpRequestWrapper extends HttpRequestBase
The base .NET class managing System.Web.HttpRequestWrapper, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.HttpRequestWrapper
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.HttpRequestWrapperstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HttpRequestWrapper()
HttpRequestWrapper(java.lang.Object instance)
Internal constructor.HttpRequestWrapper(HttpRequest httpRequest)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Abort()
byte[]
BinaryRead(int count)
static HttpRequestWrapper
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoHttpRequestWrapper
, a cast assert is made to check if types are compatible.Stream
GetBufferedInputStream()
Stream
GetBufferlessInputStream()
Stream
GetBufferlessInputStream(boolean disableMaxRequestLength)
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 Typevoid
InsertEntityBody()
void
InsertEntityBody(byte[] buffer, int offset, int count)
void
InsertEntityBody(JCORefOut dupParam0, int dupParam1, int dupParam2)
int[]
MapImageCoordinates(java.lang.String imageFieldName)
java.lang.String
MapPath(java.lang.String virtualPath)
java.lang.String
MapPath(java.lang.String virtualPath, java.lang.String baseVirtualDir, boolean allowCrossAppMapping)
double[]
MapRawImageCoordinates(java.lang.String imageFieldName)
void
SaveAs(java.lang.String filename, boolean includeHeaders)
void
setJCOInstance(JCObject instance)
void
ValidateInput()
-
Methods inherited from class system.web.HttpRequestBase
getAcceptTypes, getAnonymousID, getApplicationPath, getAppRelativeCurrentExecutionFilePath, getBrowser, getClientCertificate, getContentEncoding, getContentLength, getContentType, getCookies, getCurrentExecutionFilePath, getCurrentExecutionFilePathExtension, getFilePath, getFiles, getFilter, getForm, getHeaders, getHttpChannelBinding, getHttpMethod, getInputStream, getIsAuthenticated, getIsLocal, getIsSecureConnection, getLogonUserIdentity, getParams, getPath, getPathInfo, getPhysicalApplicationPath, getPhysicalPath, getQueryString, getRawUrl, getReadEntityBodyMode, getRequestContext, getRequestType, getServerVariables, getTimedOutToken, getTlsTokenBindingInfo, getTotalBytes, getUnvalidated, getUrl, getUrlReferrer, getUserAgent, getUserHostAddress, getUserHostName, getUserLanguages, setContentEncoding, setContentType, setFilter, setRequestContext, setRequestType
-
-
-
-
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.HttpRequestWrapper- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HttpRequestWrapper
public HttpRequestWrapper(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
HttpRequestWrapper
public HttpRequestWrapper() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
HttpRequestWrapper
public HttpRequestWrapper(HttpRequest httpRequest) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
-
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 classHttpRequestBase
- 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 classHttpRequestBase
- 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 classHttpRequestBase
- 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 classHttpRequestBase
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classHttpRequestBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classHttpRequestBase
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static HttpRequestWrapper cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoHttpRequestWrapper
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HttpRequestWrapper
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
BinaryRead
public byte[] BinaryRead(int count) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, HttpException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, SecurityException, FormatException, OverflowException
- Overrides:
BinaryRead
in classHttpRequestBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
HttpException
ConfigurationErrorsException
NotSupportedException
ConfigurationException
SecurityException
FormatException
OverflowException
-
MapRawImageCoordinates
public double[] MapRawImageCoordinates(java.lang.String imageFieldName) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, ArgumentException, HttpException, ArgumentOutOfRangeException, NullReferenceException, ConfigurationErrorsException, InvalidOperationException, NotSupportedException, ConfigurationException, FormatException, OverflowException, IndexOutOfRangeException
- Overrides:
MapRawImageCoordinates
in classHttpRequestBase
- Throws:
java.lang.Throwable
ArgumentNullException
CultureNotFoundException
ArgumentException
HttpException
ArgumentOutOfRangeException
NullReferenceException
ConfigurationErrorsException
InvalidOperationException
NotSupportedException
ConfigurationException
FormatException
OverflowException
IndexOutOfRangeException
-
MapImageCoordinates
public int[] MapImageCoordinates(java.lang.String imageFieldName) throws java.lang.Throwable, ArgumentNullException, CultureNotFoundException, ArgumentException, HttpException, ArgumentOutOfRangeException, NullReferenceException, ConfigurationErrorsException, InvalidOperationException, NotSupportedException, ConfigurationException, FormatException, OverflowException, IndexOutOfRangeException
- Overrides:
MapImageCoordinates
in classHttpRequestBase
- Throws:
java.lang.Throwable
ArgumentNullException
CultureNotFoundException
ArgumentException
HttpException
ArgumentOutOfRangeException
NullReferenceException
ConfigurationErrorsException
InvalidOperationException
NotSupportedException
ConfigurationException
FormatException
OverflowException
IndexOutOfRangeException
-
GetBufferedInputStream
public Stream GetBufferedInputStream() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, ConfigurationErrorsException, ConfigurationException, HttpException, FormatException, OverflowException
- Overrides:
GetBufferedInputStream
in classHttpRequestBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
NotSupportedException
ArgumentOutOfRangeException
ConfigurationErrorsException
ConfigurationException
HttpException
FormatException
OverflowException
-
GetBufferlessInputStream
public Stream GetBufferlessInputStream() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, ConfigurationErrorsException, ConfigurationException, HttpException, FormatException, OverflowException
- Overrides:
GetBufferlessInputStream
in classHttpRequestBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
NotSupportedException
ArgumentOutOfRangeException
ConfigurationErrorsException
ConfigurationException
HttpException
FormatException
OverflowException
-
GetBufferlessInputStream
public Stream GetBufferlessInputStream(boolean disableMaxRequestLength) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, ConfigurationErrorsException, ConfigurationException, HttpException, FormatException, OverflowException
- Overrides:
GetBufferlessInputStream
in classHttpRequestBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
NotSupportedException
ArgumentOutOfRangeException
ConfigurationErrorsException
ConfigurationException
HttpException
FormatException
OverflowException
-
MapPath
public java.lang.String MapPath(java.lang.String virtualPath) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, HttpException, OutOfMemoryException, ThreadAbortException, HttpRequestValidationException, NotSupportedException
- Overrides:
MapPath
in classHttpRequestBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
FormatException
HttpException
OutOfMemoryException
ThreadAbortException
HttpRequestValidationException
NotSupportedException
-
MapPath
public java.lang.String MapPath(java.lang.String virtualPath, java.lang.String baseVirtualDir, boolean allowCrossAppMapping) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, HttpException, OutOfMemoryException, ArgumentException, ProviderException, ConfigurationErrorsException, ThreadAbortException, HttpRequestValidationException
- Overrides:
MapPath
in classHttpRequestBase
- Throws:
java.lang.Throwable
ArgumentNullException
MissingManifestResourceException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
HttpException
OutOfMemoryException
ArgumentException
ProviderException
ConfigurationErrorsException
ThreadAbortException
HttpRequestValidationException
-
Abort
public void Abort() throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException
- Overrides:
Abort
in classHttpRequestBase
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
PlatformNotSupportedException
-
InsertEntityBody
public void InsertEntityBody() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException
- Overrides:
InsertEntityBody
in classHttpRequestBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
PlatformNotSupportedException
-
InsertEntityBody
public void InsertEntityBody(byte[] buffer, int offset, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException
- Overrides:
InsertEntityBody
in classHttpRequestBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
PlatformNotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
FormatException
-
InsertEntityBody
public void InsertEntityBody(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException
- Overrides:
InsertEntityBody
in classHttpRequestBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
PlatformNotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
FormatException
-
SaveAs
public void SaveAs(java.lang.String filename, boolean includeHeaders) throws java.lang.Throwable, ArgumentNullException, ArgumentException, HttpException, HttpRequestValidationException, ConfigurationErrorsException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, ConfigurationException, ArgumentOutOfRangeException, PathTooLongException, IndexOutOfRangeException, NullReferenceException, SecurityException, IOException, FormatException, OverflowException
- Overrides:
SaveAs
in classHttpRequestBase
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
HttpException
HttpRequestValidationException
ConfigurationErrorsException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
NotImplementedException
ConfigurationException
ArgumentOutOfRangeException
PathTooLongException
IndexOutOfRangeException
NullReferenceException
SecurityException
IOException
FormatException
OverflowException
-
ValidateInput
public void ValidateInput() throws java.lang.Throwable
- Overrides:
ValidateInput
in classHttpRequestBase
- Throws:
java.lang.Throwable
-
-