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.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.HttpRequestWrapperstatic JCTypeclassTypeThe 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 voidAbort()byte[]BinaryRead(int count)static HttpRequestWrappercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoHttpRequestWrapper, a cast assert is made to check if types are compatible.StreamGetBufferedInputStream()StreamGetBufferlessInputStream()StreamGetBufferlessInputStream(boolean disableMaxRequestLength)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 TypevoidInsertEntityBody()voidInsertEntityBody(byte[] buffer, int offset, int count)voidInsertEntityBody(JCORefOut dupParam0, int dupParam1, int dupParam2)int[]MapImageCoordinates(java.lang.String imageFieldName)java.lang.StringMapPath(java.lang.String virtualPath)java.lang.StringMapPath(java.lang.String virtualPath, java.lang.String baseVirtualDir, boolean allowCrossAppMapping)double[]MapRawImageCoordinates(java.lang.String imageFieldName)voidSaveAs(java.lang.String filename, boolean includeHeaders)voidsetJCOInstance(JCObject instance)voidValidateInput()-
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.ThrowableInternal 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.ThrowableArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classHttpRequestBase- 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 classHttpRequestBase- 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 classHttpRequestBase- 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 classHttpRequestBase- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classHttpRequestBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classHttpRequestBase- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static HttpRequestWrapper cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoHttpRequestWrapper, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
HttpRequestWrapperinstance- 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:
BinaryReadin classHttpRequestBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionHttpExceptionConfigurationErrorsExceptionNotSupportedExceptionConfigurationExceptionSecurityExceptionFormatExceptionOverflowException
-
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:
MapRawImageCoordinatesin classHttpRequestBase- Throws:
java.lang.ThrowableArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionHttpExceptionArgumentOutOfRangeExceptionNullReferenceExceptionConfigurationErrorsExceptionInvalidOperationExceptionNotSupportedExceptionConfigurationExceptionFormatExceptionOverflowExceptionIndexOutOfRangeException
-
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:
MapImageCoordinatesin classHttpRequestBase- Throws:
java.lang.ThrowableArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionHttpExceptionArgumentOutOfRangeExceptionNullReferenceExceptionConfigurationErrorsExceptionInvalidOperationExceptionNotSupportedExceptionConfigurationExceptionFormatExceptionOverflowExceptionIndexOutOfRangeException
-
GetBufferedInputStream
public Stream GetBufferedInputStream() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, ConfigurationErrorsException, ConfigurationException, HttpException, FormatException, OverflowException
- Overrides:
GetBufferedInputStreamin classHttpRequestBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionConfigurationErrorsExceptionConfigurationExceptionHttpExceptionFormatExceptionOverflowException
-
GetBufferlessInputStream
public Stream GetBufferlessInputStream() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, ConfigurationErrorsException, ConfigurationException, HttpException, FormatException, OverflowException
- Overrides:
GetBufferlessInputStreamin classHttpRequestBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionConfigurationErrorsExceptionConfigurationExceptionHttpExceptionFormatExceptionOverflowException
-
GetBufferlessInputStream
public Stream GetBufferlessInputStream(boolean disableMaxRequestLength) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, ConfigurationErrorsException, ConfigurationException, HttpException, FormatException, OverflowException
- Overrides:
GetBufferlessInputStreamin classHttpRequestBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionConfigurationErrorsExceptionConfigurationExceptionHttpExceptionFormatExceptionOverflowException
-
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:
MapPathin classHttpRequestBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionHttpExceptionOutOfMemoryExceptionThreadAbortExceptionHttpRequestValidationExceptionNotSupportedException
-
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:
MapPathin classHttpRequestBase- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionHttpExceptionOutOfMemoryExceptionArgumentExceptionProviderExceptionConfigurationErrorsExceptionThreadAbortExceptionHttpRequestValidationException
-
Abort
public void Abort() throws java.lang.Throwable, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException- Overrides:
Abortin classHttpRequestBase- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedException
-
InsertEntityBody
public void InsertEntityBody() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException- Overrides:
InsertEntityBodyin classHttpRequestBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedException
-
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:
InsertEntityBodyin classHttpRequestBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatException
-
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:
InsertEntityBodyin classHttpRequestBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatException
-
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:
SaveAsin classHttpRequestBase- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionHttpExceptionHttpRequestValidationExceptionConfigurationErrorsExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionConfigurationExceptionArgumentOutOfRangeExceptionPathTooLongExceptionIndexOutOfRangeExceptionNullReferenceExceptionSecurityExceptionIOExceptionFormatExceptionOverflowException
-
ValidateInput
public void ValidateInput() throws java.lang.Throwable- Overrides:
ValidateInputin classHttpRequestBase- Throws:
java.lang.Throwable
-
-