Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp
Class Server  view Server download Server.java

java.lang.Object
  extended bycom.tripi.asp.Server

public class Server
extends java.lang.Object

The Server class implements the ASP object "Server", which contains utility functions.

Version:
0.9

Field Summary
(package private)  java.util.Hashtable configuredNames
          Hashtable of all the object names configured
(package private) static org.apache.log4j.Category DBG
          Debugging category
(package private)  AspContext localContext
          Local ASP Context
 int ScriptTimeout
          Script timeout
(package private)  javax.servlet.ServletContext servletContext
          Servlet context
 
Constructor Summary
Server(javax.servlet.ServletConfig config, AspContext localContext)
          Constructor.
 
Method Summary
 java.lang.Object CreateObject(java.lang.String objID)
          CreateObject ASP function.
static java.lang.String htmlEncode(java.lang.String str)
          HTML encodes a string.
 java.lang.String MapPath(java.lang.String path)
          ASP-accessable function to obtain the local path based on a virtual path.
static java.lang.String URLEncode(java.lang.String str)
          URL Encodes a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DBG

static org.apache.log4j.Category DBG
Debugging category


ScriptTimeout

public int ScriptTimeout
Script timeout


configuredNames

java.util.Hashtable configuredNames
Hashtable of all the object names configured


servletContext

javax.servlet.ServletContext servletContext
Servlet context


localContext

AspContext localContext
Local ASP Context

Constructor Detail

Server

public Server(javax.servlet.ServletConfig config,
              AspContext localContext)
Constructor.

Method Detail

CreateObject

public java.lang.Object CreateObject(java.lang.String objID)
                              throws java.lang.ClassNotFoundException,
                                     java.lang.InstantiationException,
                                     java.lang.IllegalAccessException
CreateObject ASP function.


htmlEncode

public static java.lang.String htmlEncode(java.lang.String str)
HTML encodes a string.


URLEncode

public static java.lang.String URLEncode(java.lang.String str)
URL Encodes a string.


MapPath

public java.lang.String MapPath(java.lang.String path)
ASP-accessable function to obtain the local path based on a virtual path.