Package system.web
Class HttpServerUtilityBase
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.HttpServerUtilityBase
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
HttpServerUtilityWrapper
public class HttpServerUtilityBase extends NetObject
The base .NET class managing System.Web.HttpServerUtilityBase, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.See: https://docs.microsoft.com/en-us/dotnet/api/System.Web.HttpServerUtilityBase
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: System.Webstatic String
className
Qualified class name: System.Web.HttpServerUtilityBasestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HttpServerUtilityBase()
HttpServerUtilityBase(Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpServerUtilityBase
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoHttpServerUtilityBase
, a cast assert is made to check if types are compatible.void
ClearError()
NetObject
CreateObject(String progID)
NetObject
CreateObject(NetType type)
NetObject
CreateObjectFromClsid(String clsid)
void
Execute(String path)
void
Execute(String path, boolean preserveForm)
void
Execute(String path, TextWriter writer)
void
Execute(String path, TextWriter writer, boolean preserveForm)
void
Execute(IHttpHandler handler, TextWriter writer, boolean preserveForm)
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeNetException
GetLastError()
String
getMachineName()
int
getScriptTimeout()
String
HtmlDecode(String s)
void
HtmlDecode(String s, TextWriter output)
String
HtmlEncode(String s)
void
HtmlEncode(String s, TextWriter output)
String
MapPath(String path)
void
setJCOInstance(JCObject instance)
void
setScriptTimeout(int ScriptTimeout)
void
Transfer(String path)
void
Transfer(String path, boolean preserveForm)
void
Transfer(IHttpHandler handler, boolean preserveForm)
void
TransferRequest(String path)
void
TransferRequest(String path, boolean preserveForm)
void
TransferRequest(String path, boolean preserveForm, String method, NameValueCollection headers)
void
TransferRequest(String path, boolean preserveForm, String method, NameValueCollection headers, boolean preserveUser)
String
UrlDecode(String s)
void
UrlDecode(String s, TextWriter output)
String
UrlEncode(String s)
void
UrlEncode(String s, TextWriter output)
String
UrlPathEncode(String s)
byte[]
UrlTokenDecode(String input)
String
UrlTokenEncode(byte[] input)
String
UrlTokenEncode(JCORefOut dupParam0)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final 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 String assemblyShortName
Assembly name: System.Web- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Web.HttpServerUtilityBase- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public 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 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 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 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 HttpServerUtilityBase cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoHttpServerUtilityBase
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
HttpServerUtilityBase
instance- Throws:
Throwable
- in case of error during cast operation
-
UrlTokenDecode
public byte[] UrlTokenDecode(String input) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
GetLastError
public NetException GetLastError() throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
CreateObject
public NetObject CreateObject(String progID) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
CreateObject
public NetObject CreateObject(NetType type) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
CreateObjectFromClsid
public NetObject CreateObjectFromClsid(String clsid) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
HtmlDecode
public String HtmlDecode(String s) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
HtmlEncode
public String HtmlEncode(String s) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
MapPath
public String MapPath(String path) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
UrlDecode
public String UrlDecode(String s) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
UrlEncode
public String UrlEncode(String s) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
UrlPathEncode
public String UrlPathEncode(String s) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
UrlTokenEncode
public String UrlTokenEncode(byte[] input) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
UrlTokenEncode
public String UrlTokenEncode(JCORefOut dupParam0) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
ClearError
public void ClearError() throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
Execute
public void Execute(String path) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
Execute
public void Execute(String path, boolean preserveForm) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
Execute
public void Execute(String path, TextWriter writer) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
Execute
public void Execute(String path, TextWriter writer, boolean preserveForm) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
Execute
public void Execute(IHttpHandler handler, TextWriter writer, boolean preserveForm) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
HtmlDecode
public void HtmlDecode(String s, TextWriter output) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
HtmlEncode
public void HtmlEncode(String s, TextWriter output) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
Transfer
public void Transfer(String path) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
Transfer
public void Transfer(String path, boolean preserveForm) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
Transfer
public void Transfer(IHttpHandler handler, boolean preserveForm) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
TransferRequest
public void TransferRequest(String path) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
TransferRequest
public void TransferRequest(String path, boolean preserveForm) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
TransferRequest
public void TransferRequest(String path, boolean preserveForm, String method, NameValueCollection headers) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
TransferRequest
public void TransferRequest(String path, boolean preserveForm, String method, NameValueCollection headers, boolean preserveUser) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
UrlDecode
public void UrlDecode(String s, TextWriter output) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
UrlEncode
public void UrlEncode(String s, TextWriter output) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
getScriptTimeout
public int getScriptTimeout() throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
setScriptTimeout
public void setScriptTimeout(int ScriptTimeout) throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
getMachineName
public String getMachineName() throws Throwable, NotImplementedException
- Throws:
Throwable
NotImplementedException
-
-