Package system.web
Class HttpUtility
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.HttpUtility
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class HttpUtility extends NetObject
The base .NET class managing System.Web.HttpUtility, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.HttpUtility
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.HttpUtilitystatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HttpUtility()HttpUtility(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpUtilitycast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoHttpUtility, a cast assert is made to check if types are compatible.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 Typestatic java.lang.StringHtmlAttributeEncode(java.lang.String s)static voidHtmlAttributeEncode(java.lang.String s, TextWriter output)static java.lang.StringHtmlDecode(java.lang.String s)static voidHtmlDecode(java.lang.String s, TextWriter output)static java.lang.StringHtmlEncode(java.lang.String s)static voidHtmlEncode(java.lang.String s, TextWriter output)static java.lang.StringHtmlEncode(NetObject value)static java.lang.StringJavaScriptStringEncode(java.lang.String value)static java.lang.StringJavaScriptStringEncode(java.lang.String value, boolean addDoubleQuotes)static NameValueCollectionParseQueryString(java.lang.String query)static NameValueCollectionParseQueryString(java.lang.String query, Encoding encoding)voidsetJCOInstance(JCObject instance)static java.lang.StringUrlDecode(byte[] bytes, int offset, int count, Encoding e)static java.lang.StringUrlDecode(byte[] bytes, Encoding e)static java.lang.StringUrlDecode(java.lang.String str)static java.lang.StringUrlDecode(java.lang.String str, Encoding e)static java.lang.StringUrlDecode(JCORefOut dupParam0, int dupParam1, int dupParam2, Encoding dupParam3)static java.lang.StringUrlDecode(JCORefOut dupParam0, Encoding dupParam1)static byte[]UrlDecodeToBytes(byte[] bytes)static byte[]UrlDecodeToBytes(byte[] bytes, int offset, int count)static byte[]UrlDecodeToBytes(java.lang.String str)static byte[]UrlDecodeToBytes(java.lang.String str, Encoding e)static byte[]UrlDecodeToBytes(JCORefOut dupParam0)static byte[]UrlDecodeToBytes(JCORefOut dupParam0, int dupParam1, int dupParam2)static java.lang.StringUrlEncode(byte[] bytes)static java.lang.StringUrlEncode(byte[] bytes, int offset, int count)static java.lang.StringUrlEncode(java.lang.String str)static java.lang.StringUrlEncode(java.lang.String str, Encoding e)static java.lang.StringUrlEncode(JCORefOut dupParam0)static java.lang.StringUrlEncode(JCORefOut dupParam0, int dupParam1, int dupParam2)static byte[]UrlEncodeToBytes(byte[] bytes)static byte[]UrlEncodeToBytes(byte[] bytes, int offset, int count)static byte[]UrlEncodeToBytes(java.lang.String str)static byte[]UrlEncodeToBytes(java.lang.String str, Encoding e)static byte[]UrlEncodeToBytes(JCORefOut dupParam0)static byte[]UrlEncodeToBytes(JCORefOut dupParam0, int dupParam1, int dupParam2)static java.lang.StringUrlEncodeUnicode(java.lang.String str)static byte[]UrlEncodeUnicodeToBytes(java.lang.String str)static java.lang.StringUrlPathEncode(java.lang.String str)
-
-
-
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.HttpUtility- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- 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 classNetObject- 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 classNetObject- 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 classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static HttpUtility cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoHttpUtility, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
HttpUtilityinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(byte[] bytes) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(byte[] bytes, int offset, int count) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(java.lang.String str) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ThreadAbortException, InvalidOperationException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionThreadAbortExceptionInvalidOperationException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(java.lang.String str, Encoding e) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ThreadAbortException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(byte[] bytes) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(java.lang.String str) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, ThreadAbortException, MissingMethodException, TargetInvocationException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(java.lang.String str, Encoding e) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ThreadAbortException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException
-
UrlEncodeUnicodeToBytes
public static byte[] UrlEncodeUnicodeToBytes(java.lang.String str) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, OutOfMemoryException
-
ParseQueryString
public static NameValueCollection ParseQueryString(java.lang.String query) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ConfigurationErrorsException, ConfigurationException, InvalidOperationException, ThreadAbortException, NotSupportedException, ObjectDisposedException, AbandonedMutexException
-
ParseQueryString
public static NameValueCollection ParseQueryString(java.lang.String query, Encoding encoding) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ConfigurationErrorsException, CultureNotFoundException, NotSupportedException, ConfigurationException, InvalidOperationException, IndexOutOfRangeException, ThreadAbortException
-
HtmlAttributeEncode
public static java.lang.String HtmlAttributeEncode(java.lang.String s) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, HttpException, ConfigurationErrorsException, ConfigurationException, OutOfMemoryException, PlatformNotSupportedException, OverflowException, NullReferenceException- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionThreadAbortExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionHttpExceptionConfigurationErrorsExceptionConfigurationExceptionOutOfMemoryExceptionPlatformNotSupportedExceptionOverflowExceptionNullReferenceException
-
HtmlDecode
public static java.lang.String HtmlDecode(java.lang.String s) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ConfigurationException, ArgumentOutOfRangeException
-
HtmlEncode
public static java.lang.String HtmlEncode(NetObject value) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, ThreadAbortException, ConfigurationException
-
HtmlEncode
public static java.lang.String HtmlEncode(java.lang.String s) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ConfigurationException, ArgumentOutOfRangeException
-
JavaScriptStringEncode
public static java.lang.String JavaScriptStringEncode(java.lang.String value) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, ConfigurationErrorsException, ArgumentOutOfRangeException, ConfigurationException, OutOfMemoryException
-
JavaScriptStringEncode
public static java.lang.String JavaScriptStringEncode(java.lang.String value, boolean addDoubleQuotes) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, MissingManifestResourceException, ConfigurationErrorsException, ArgumentOutOfRangeException, CultureNotFoundException, ConfigurationException, IndexOutOfRangeException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionThreadAbortExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionMissingManifestResourceExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionConfigurationExceptionIndexOutOfRangeExceptionOutOfMemoryException
-
UrlDecode
public static java.lang.String UrlDecode(byte[] bytes, int offset, int count, Encoding e) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException
-
UrlDecode
public static java.lang.String UrlDecode(JCORefOut dupParam0, int dupParam1, int dupParam2, Encoding dupParam3) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException
-
UrlDecode
public static java.lang.String UrlDecode(byte[] bytes, Encoding e) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
UrlDecode
public static java.lang.String UrlDecode(JCORefOut dupParam0, Encoding dupParam1) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
UrlDecode
public static java.lang.String UrlDecode(java.lang.String str) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException
-
UrlDecode
public static java.lang.String UrlDecode(java.lang.String str, Encoding e) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException
-
UrlEncode
public static java.lang.String UrlEncode(byte[] bytes) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ThreadAbortException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException
-
UrlEncode
public static java.lang.String UrlEncode(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ThreadAbortException, InvalidOperationException, ArgumentNullException, MissingMethodException, TargetInvocationException
-
UrlEncode
public static java.lang.String UrlEncode(byte[] bytes, int offset, int count) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException
-
UrlEncode
public static java.lang.String UrlEncode(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException
-
UrlEncode
public static java.lang.String UrlEncode(java.lang.String str) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ThreadAbortException, InvalidOperationException, MissingMethodException, TargetInvocationException
-
UrlEncode
public static java.lang.String UrlEncode(java.lang.String str, Encoding e) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, ThreadAbortException, MissingMethodException, TargetInvocationException
-
UrlEncodeUnicode
public static java.lang.String UrlEncodeUnicode(java.lang.String str) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException
-
UrlPathEncode
public static java.lang.String UrlPathEncode(java.lang.String str) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, FormatException, SecurityException, UriFormatException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionThreadAbortExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionFormatExceptionSecurityExceptionUriFormatExceptionOutOfMemoryException
-
HtmlAttributeEncode
public static void HtmlAttributeEncode(java.lang.String s, TextWriter output) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, HttpException, ConfigurationErrorsException, ConfigurationException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, OverflowException, NullReferenceException- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionThreadAbortExceptionArgumentNullExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionHttpExceptionConfigurationErrorsExceptionConfigurationExceptionOutOfMemoryExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionOverflowExceptionNullReferenceException
-
HtmlDecode
public static void HtmlDecode(java.lang.String s, TextWriter output) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ConfigurationException, ArgumentOutOfRangeException
-
HtmlEncode
public static void HtmlEncode(java.lang.String s, TextWriter output) throws java.lang.Throwable, ArgumentException, InvalidOperationException, ThreadAbortException, ArgumentNullException, MissingMethodException, TargetInvocationException, NotSupportedException, ConfigurationException, ArgumentOutOfRangeException
-
-