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=9.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.String
assemblyFullName
Fully assembly qualified name: System.Web.HttpUtility, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.String
assemblyShortName
Assembly name: System.Web.HttpUtilitystatic java.lang.String
className
Qualified class name: System.Web.HttpUtilitystatic JCType
classType
The 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 HttpUtility
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoHttpUtility
, a cast assert is made to check if types are compatible.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 Typestatic java.lang.String
HtmlAttributeEncode(java.lang.String s)
static void
HtmlAttributeEncode(java.lang.String s, TextWriter output)
static java.lang.String
HtmlDecode(java.lang.String s)
static void
HtmlDecode(java.lang.String s, TextWriter output)
static java.lang.String
HtmlEncode(java.lang.String s)
static void
HtmlEncode(java.lang.String s, TextWriter output)
static java.lang.String
HtmlEncode(NetObject value)
static java.lang.String
JavaScriptStringEncode(java.lang.String value)
static java.lang.String
JavaScriptStringEncode(java.lang.String value, boolean addDoubleQuotes)
static NameValueCollection
ParseQueryString(java.lang.String query)
static NameValueCollection
ParseQueryString(java.lang.String query, Encoding encoding)
void
setJCOInstance(JCObject instance)
static java.lang.String
UrlDecode(byte[] bytes, int offset, int count, Encoding e)
static java.lang.String
UrlDecode(byte[] bytes, Encoding e)
static java.lang.String
UrlDecode(java.lang.String str)
static java.lang.String
UrlDecode(java.lang.String str, Encoding e)
static java.lang.String
UrlDecode(JCORefOut dupParam0, int dupParam1, int dupParam2, Encoding dupParam3)
static java.lang.String
UrlDecode(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.String
UrlEncode(byte[] bytes)
static java.lang.String
UrlEncode(byte[] bytes, int offset, int count)
static java.lang.String
UrlEncode(java.lang.String str)
static java.lang.String
UrlEncode(java.lang.String str, Encoding e)
static java.lang.String
UrlEncode(JCORefOut dupParam0)
static java.lang.String
UrlEncode(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.String
UrlEncodeUnicode(java.lang.String str)
static byte[]
UrlEncodeUnicodeToBytes(java.lang.String str)
static java.lang.String
UrlPathEncode(java.lang.String str)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Web.HttpUtility, Version=9.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: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 HttpUtility cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoHttpUtility
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HttpUtility
instance- 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, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(byte[] bytes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(java.lang.String str, Encoding e) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
UrlDecodeToBytes
public static byte[] UrlDecodeToBytes(java.lang.String str) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(byte[] bytes, int offset, int count) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException, UnreachableException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException, UnreachableException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(byte[] bytes) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, UnreachableException
- Throws:
java.lang.Throwable
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArrayTypeMismatchException
UnreachableException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, UnreachableException
- Throws:
java.lang.Throwable
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArrayTypeMismatchException
UnreachableException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(java.lang.String str, Encoding e) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, UnreachableException, IndexOutOfRangeException
-
UrlEncodeToBytes
public static byte[] UrlEncodeToBytes(java.lang.String str) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, UnreachableException, IndexOutOfRangeException
-
UrlEncodeUnicodeToBytes
public static byte[] UrlEncodeUnicodeToBytes(java.lang.String str) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, UnreachableException, OutOfMemoryException, ArrayTypeMismatchException, ArgumentNullException
-
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, ArrayTypeMismatchException, 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, IndexOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
-
HtmlEncode
public static java.lang.String HtmlEncode(NetObject value) throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, UnreachableException, IndexOutOfRangeException, ArrayTypeMismatchException, ArgumentOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
OutOfMemoryException
ArgumentException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
NotSupportedException
UnreachableException
IndexOutOfRangeException
ArrayTypeMismatchException
ArgumentOutOfRangeException
FormatException
-
HtmlEncode
public static java.lang.String HtmlEncode(java.lang.String s) throws java.lang.Throwable, ArgumentNullException, UnreachableException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, ArgumentException, ArrayTypeMismatchException, NotSupportedException
-
JavaScriptStringEncode
public static java.lang.String JavaScriptStringEncode(java.lang.String value, boolean addDoubleQuotes) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, UnreachableException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException
-
JavaScriptStringEncode
public static java.lang.String JavaScriptStringEncode(java.lang.String value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, UnreachableException, PlatformNotSupportedException, OutOfMemoryException, IndexOutOfRangeException
-
UrlDecode
public static java.lang.String UrlDecode(byte[] bytes, int offset, int count, Encoding e) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
UrlDecode
public static java.lang.String UrlDecode(JCORefOut dupParam0, int dupParam1, int dupParam2, Encoding dupParam3) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArrayTypeMismatchException
-
UrlDecode
public static java.lang.String UrlDecode(byte[] bytes, Encoding e) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArrayTypeMismatchException
ArgumentException
-
UrlDecode
public static java.lang.String UrlDecode(JCORefOut dupParam0, Encoding dupParam1) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArrayTypeMismatchException
ArgumentException
-
UrlDecode
public static java.lang.String UrlDecode(java.lang.String str, Encoding e) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException
-
UrlDecode
public static java.lang.String UrlDecode(java.lang.String str) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, ArgumentNullException
-
UrlEncode
public static java.lang.String UrlEncode(byte[] bytes, int offset, int count) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, UnreachableException
- Throws:
java.lang.Throwable
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArrayTypeMismatchException
UnreachableException
-
UrlEncode
public static java.lang.String UrlEncode(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, UnreachableException
- Throws:
java.lang.Throwable
ArgumentNullException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArrayTypeMismatchException
UnreachableException
-
UrlEncode
public static java.lang.String UrlEncode(byte[] bytes) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, UnreachableException, IndexOutOfRangeException
-
UrlEncode
public static java.lang.String UrlEncode(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, UnreachableException, IndexOutOfRangeException
-
UrlEncode
public static java.lang.String UrlEncode(java.lang.String str, Encoding e) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, UnreachableException, IndexOutOfRangeException
-
UrlEncode
public static java.lang.String UrlEncode(java.lang.String str) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, UnreachableException
-
UrlEncodeUnicode
public static java.lang.String UrlEncodeUnicode(java.lang.String str) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, UnreachableException, OutOfMemoryException
-
UrlPathEncode
public static java.lang.String UrlPathEncode(java.lang.String str) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentNullException, IndexOutOfRangeException, UnreachableException, OutOfMemoryException, UriFormatException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
InvalidOperationException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ArgumentNullException
IndexOutOfRangeException
UnreachableException
OutOfMemoryException
UriFormatException
ArrayTypeMismatchException
-
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, UnreachableException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException
-
-