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.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.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, 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: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) 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.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
ThreadAbortException
InvalidOperationException
-
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.Throwable
ArgumentException
InvalidOperationException
ThreadAbortException
ArgumentNullException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
HttpException
ConfigurationErrorsException
ConfigurationException
OutOfMemoryException
PlatformNotSupportedException
OverflowException
NullReferenceException
-
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.Throwable
ArgumentException
InvalidOperationException
ThreadAbortException
ArgumentNullException
MissingMethodException
TargetInvocationException
NotSupportedException
MissingManifestResourceException
ConfigurationErrorsException
ArgumentOutOfRangeException
CultureNotFoundException
ConfigurationException
IndexOutOfRangeException
OutOfMemoryException
-
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.Throwable
ArgumentException
InvalidOperationException
ThreadAbortException
ArgumentNullException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
FormatException
SecurityException
UriFormatException
OutOfMemoryException
-
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.Throwable
ArgumentException
InvalidOperationException
ThreadAbortException
ArgumentNullException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
HttpException
ConfigurationErrorsException
ConfigurationException
OutOfMemoryException
PlatformNotSupportedException
IndexOutOfRangeException
OverflowException
NullReferenceException
-
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
-
-