|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jasp.buildin.Server
The Server object provides access to methods and properties on the server. Most of these methods and properties serve as utility functions.
| Constructor Summary | |
Server()
|
|
| Method Summary | |
static java.lang.Object |
CreateObject(java.lang.String progID)
CreateObject Creates an instance of a server component. |
static void |
Execute(java.lang.String aspfile)
Calls an .asp file and processes it as if it were part of the calling .asp. |
static ASPError |
GetLastError()
If a custom error has been defined for an ASP application, it may refer to an .asp file. |
static long |
getScriptTimeout()
|
static java.lang.String |
HTMLEncode(java.lang.String str)
Applies HTML encoding to the specified string. |
static java.lang.String |
MapPath(java.lang.String path)
Maps the specified relative or virtual path to the corresponding physical directory on the server. |
static jasp.buildin.ASPServer |
server()
Returns a Server object instance |
static void |
setScriptTimeout(long timeout)
Specifies the maximum number of seconds that a script can run before the server terminates it. |
static void |
Transfer(java.lang.String path)
ends the request from one .asp file, to a second .asp file. |
static java.lang.String |
URLEncode(java.lang.String str)
Applies URL encoding rules, including escape characters, to the string. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Server()
| Method Detail |
public static jasp.buildin.ASPServer server()
public static void setScriptTimeout(long timeout)
public static long getScriptTimeout()
public static java.lang.Object CreateObject(java.lang.String progID)
throws java.lang.Exception
public static void Execute(java.lang.String aspfile)
throws java.lang.Exception
public static java.lang.String HTMLEncode(java.lang.String str)
public static java.lang.String MapPath(java.lang.String path)
public static java.lang.String URLEncode(java.lang.String str)
public static void Transfer(java.lang.String path)
throws java.lang.Exception
public static ASPError GetLastError()
throws java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||