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.HttpUtility, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51..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.HttpUtility, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.StringassemblyShortNameAssembly name: System.Web.HttpUtilitystatic 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.HttpUtility, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Web.HttpUtility- 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, int offset, int count) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(byte[] bytes) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(java.lang.String str, Encoding e) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(java.lang.String str) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(byte[] bytes) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(java.lang.String str, Encoding e) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(java.lang.String str) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
UrlEncodeUnicodeToBytes
public static byte[] UrlEncodeUnicodeToBytes(java.lang.String str) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException
-
ParseQueryString
public static NameValueCollection ParseQueryString(java.lang.String query, Encoding encoding) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException
-
ParseQueryString
public static NameValueCollection ParseQueryString(java.lang.String query) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException
-
HtmlAttributeEncode
public static java.lang.String HtmlAttributeEncode(java.lang.String s) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
HtmlDecode
public static java.lang.String HtmlDecode(java.lang.String s) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ArgumentNullException, FormatException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArgumentNullExceptionFormatException
-
HtmlEncode
public static java.lang.String HtmlEncode(NetObject value) throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArrayTypeMismatchException, ArgumentOutOfRangeException, InvalidOperationException, FormatException
-
HtmlEncode
public static java.lang.String HtmlEncode(java.lang.String s) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, FormatException, ArgumentException, ArrayTypeMismatchException
-
JavaScriptStringEncode
public static java.lang.String JavaScriptStringEncode(java.lang.String value, boolean addDoubleQuotes) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ArrayTypeMismatchException, OutOfMemoryException, FormatException
-
JavaScriptStringEncode
public static java.lang.String JavaScriptStringEncode(java.lang.String value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ArrayTypeMismatchException, OutOfMemoryException, FormatException
-
UrlDecode
public static java.lang.String UrlDecode(byte[] bytes, int offset, int count, Encoding e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException
-
UrlDecode
public static java.lang.String UrlDecode(JCORefOut dupParam0, int dupParam1, int dupParam2, Encoding dupParam3) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException
-
UrlDecode
public static java.lang.String UrlDecode(byte[] bytes, Encoding e) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, ArgumentException
-
UrlDecode
public static java.lang.String UrlDecode(JCORefOut dupParam0, Encoding dupParam1) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, ArgumentException
-
UrlDecode
public static java.lang.String UrlDecode(java.lang.String str, Encoding e) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException
-
UrlDecode
public static java.lang.String UrlDecode(java.lang.String str) throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
-
UrlEncode
public static java.lang.String UrlEncode(byte[] bytes, int offset, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentException
-
UrlEncode
public static java.lang.String UrlEncode(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentException
-
UrlEncode
public static java.lang.String UrlEncode(byte[] bytes) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentException
-
UrlEncode
public static java.lang.String UrlEncode(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentException
-
UrlEncode
public static java.lang.String UrlEncode(java.lang.String str, Encoding e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
UrlEncode
public static java.lang.String UrlEncode(java.lang.String str) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentException
-
UrlEncodeUnicode
public static java.lang.String UrlEncodeUnicode(java.lang.String str) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OutOfMemoryException
-
UrlPathEncode
public static java.lang.String UrlPathEncode(java.lang.String str) throws java.lang.Throwable, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, CultureNotFoundException, ArgumentNullException, IndexOutOfRangeException, UnreachableException, OutOfMemoryException, UriFormatException
-
HtmlAttributeEncode
public static void HtmlAttributeEncode(java.lang.String s, TextWriter output) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException
-
HtmlDecode
public static void HtmlDecode(java.lang.String s, TextWriter output) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException
-
HtmlEncode
public static void HtmlEncode(java.lang.String s, TextWriter output) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, FormatException
-
-