asp.net.ph

HttpServerUtility Class

System.Web Namespace


Provides helper methods for processing Web requests.

HttpServerUtility Class Members

Collapse   Properties

Visibility Name Value Type Accessibility
public MachineName String [ Get ]
public ScriptTimeout Int32 [ Get , Set ]

Collapse   Methods

Visibility Name Parameters Return Type
public ClearError ( ) Void
public CreateObject ( String progID ) Object
public CreateObject ( Type type ) Object
public CreateObjectFromClsid ( String clsid ) Object
public Execute ( String path , Boolean preserveForm ) Void
public Execute ( IHttpHandler handler , TextWriter writer , Boolean preserveForm ) Void
public Execute ( String path , TextWriter writer , Boolean preserveForm ) Void
public Execute ( String path , TextWriter writer ) Void
public Execute ( String path ) Void
public GetLastError ( ) Exception
public HtmlDecode ( String s ) String
public HtmlDecode ( String s , TextWriter output ) Void
public HtmlEncode ( String s ) String
public HtmlEncode ( String s , TextWriter output ) Void
public MapPath ( String path ) String
public Transfer ( String path ) Void
public Transfer ( IHttpHandler handler , Boolean preserveForm ) Void
public Transfer ( String path , Boolean preserveForm ) Void
public TransferRequest ( String path , Boolean preserveForm ) Void
public TransferRequest ( String path ) Void
public TransferRequest ( String path , Boolean preserveForm , String method , NameValueCollection headers , Boolean preserveUser ) Void
public TransferRequest ( String path , Boolean preserveForm , String method , NameValueCollection headers ) Void
public UrlDecode ( String s , TextWriter output ) Void
public UrlDecode ( String s ) String
public UrlEncode ( String s ) String
public UrlEncode ( String s , TextWriter output ) Void
public UrlPathEncode ( String s ) String
public static UrlTokenDecode ( String input ) Byte
public static UrlTokenEncode ( Byte input ) String

Remarks

The methods and properties of the HttpServerUtility class are exposed via the intrinsic Server object.

Syntax


To set a property or call a method:

Server.propertyName = value;
Server.methodName ( arguments );
  C# VB

To return the value of a property or method:

Type var = Server.propertyName;
Type var = Server.methodName ( arguments );
  C# VB

Skip Navigation Links



Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph