All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

access(). Method in class org.apache.jserv.JServSession
Tells the session that it has been accessed
addCookie(Cookie). Method in class org.apache.jserv.JServConnection
Adds the specified cookie to the response.
auth. Static variable in class org.apache.jserv.JServHandler

B

BadClassTest(). Constructor for class org.apache.jserv.test.BadClassTest

C

checkReload(JServSendError). Method in class org.apache.jserv.JServServletManager
Reinstantiate the classloader if necessary.
containsHeader(String). Method in class org.apache.jserv.JServConnection
Checks whether the response message header has a field with the specified name.
createSession(HttpServletResponse). Method in class org.apache.jserv.JServServletManager
Creates a new session.

D

DEFAULT_PORT. Static variable in class org.apache.jserv.JServHandler
defaultArgs. Variable in class org.apache.jserv.JServServletManager
The default init arguments for all the servlet in this name space.
destroy(). Method in class org.apache.jserv.test.GodotServlet
Don't call this unless you know what you are doing.
destroyServlets(). Method in class org.apache.jserv.JServServletManager
Destroy all the servlets and servlet contexts.
doGet(HttpServletRequest, HttpServletResponse). Method in class org.apache.jserv.test.BadClassTest
doGet(HttpServletRequest, HttpServletResponse). Method in class org.apache.jserv.EnvDumpServlet
doGet()
doGet(HttpServletRequest, HttpServletResponse). Method in class org.apache.jserv.test.GodotServlet
Waiting for Godot...
doGet(HttpServletRequest, HttpServletResponse). Method in class org.apache.jserv.JServSSI
Process the outgoing jhtml document and invoke the servlets.
doGet(HttpServletRequest, HttpServletResponse). Method in class org.apache.jserv.test.LoadClassTest
doPost(HttpServletRequest, HttpServletResponse). Method in class org.apache.jserv.JServSSI
Does the same things as the doGet() method.

E

encodeCookie(Cookie). Static method in class org.apache.jserv.JServUtils
Encode a cookie as per the Netscape Cookies specification.
encodeRedirectUrl(String). Method in class org.apache.jserv.JServConnection
Encodes the specified URL for use in the sendRedirect method or, if encoding is not needed, returns the URL unchanged.
encodeUrl(String). Method in class org.apache.jserv.JServConnection
Encodes the specified URL by including the session ID in it, or, if encoding is not needed, returns the URL unchanged.
encodeUrl(String, String). Static method in class org.apache.jserv.JServServletManager
Encode a URL with a session identifier.
EnvDumpServlet(). Constructor for class org.apache.jserv.EnvDumpServlet

F

fail(Exception, String). Static method in class org.apache.jserv.JServHandler
findStatusString(int). Static method in class org.apache.jserv.JServConnection
Finds a status string from one of the standard status code.

G

getAttribute(String). Method in class org.apache.jserv.JServConnection
Returns the value of the named attribute of the request, or null if the attribute does not exist.
getAuthType(). Method in class org.apache.jserv.JServConnection
Gets the authentication scheme of this request.
getCharacterEncoding(). Method in class org.apache.jserv.JServConnection
Returns the character set encoding used for this MIME body.
getContentLength(). Method in class org.apache.jserv.JServConnection
Returns the size of the request entity data, or -1 if not known.
getContentType(). Method in class org.apache.jserv.JServConnection
Returns the Internet Media Type of the request entity data, or null if not known.
getCookies(). Method in class org.apache.jserv.JServConnection
Gets the array of cookies found in this request.
getCookieSessionId(Cookie[]). Static method in class org.apache.jserv.JServServletManager
Get the session identifier set in cookies.
getCreationTime(). Method in class org.apache.jserv.JServSession
Returns the time at which this session representation was created, in milliseconds since midnight, January 1, 1970 UTC.
getDateHeader(String). Method in class org.apache.jserv.JServConnection
Gets the value of the requested date header field of this request.
getHeader(String). Method in class org.apache.jserv.JServConnection
Gets the value of the requested header field of this request.
getHeaderNames(). Method in class org.apache.jserv.JServConnection
Gets the header names for this request.
getId(). Method in class org.apache.jserv.JServSession
Returns the identifier assigned to this session.
getIdentifier(). Static method in class org.apache.jserv.JServServletManager
Get a session identifier.
getIds(). Method in class org.apache.jserv.JServServletManager
Returns an enumeration of all of the session IDs in this context.
getInputStream(). Method in class org.apache.jserv.JServConnection
Returns an input stream for reading binary data in the request body.
getIntHeader(String). Method in class org.apache.jserv.JServConnection
Gets the value of the specified integer header field of this request.
getLastAccessedTime(). Method in class org.apache.jserv.JServSession
Returns the last time the client sent a request carrying the identifier assigned to the session.
getLoadedServlets(). Method in class org.apache.jserv.JServServletManager
Get an enumeration of all the servlets that have been loaded.
getMethod(). Method in class org.apache.jserv.JServConnection
Gets the HTTP method (for example, GET, POST, PUT) with which this request was made.
getName(). Method in class org.apache.jserv.JServServletManager
Get the name of this ServletManager.
getOutputStream(). Method in class org.apache.jserv.JServConnection
Returns an output stream for writing binary response data.
getParameter(String). Method in class org.apache.jserv.JServConnection
Returns a string containing the lone value of the specified parameter, or null if the parameter does not exist.
getParameterNames(). Method in class org.apache.jserv.JServConnection
Returns the parameter names for this request as an enumeration of strings, or an empty enumeration if there are no parameters or the input stream is empty.
getParameterValues(String). Method in class org.apache.jserv.JServConnection
Returns the values of the specified parameter for the request as an array of strings, or null if the named parameter does not exist.
getPathInfo(). Method in class org.apache.jserv.JServConnection
Gets any optional extra path information following the servlet path of this request's URI, but immediately preceding its query string.
getPathTranslated(). Method in class org.apache.jserv.JServConnection
Gets any optional extra path information following the servlet path of this request's URI, but immediately preceding its query string, and translates it to a real path.
getProtocol(). Method in class org.apache.jserv.JServConnection
Returns the protocol and version of the request as a string of the form <protocol>/<major version>.<minor version>.
getQueryString(). Method in class org.apache.jserv.JServConnection
Gets any query string that is part of the servlet URI.
getReader(). Method in class org.apache.jserv.JServConnection
Returns a buffered reader for reading text in the request body.
getRealPath(String). Method in class org.apache.jserv.JServConnection
Applies alias rules to the specified virtual path and returns the corresponding real path, or null if the translation can not be performed for any reason.
getRemoteAddr(). Method in class org.apache.jserv.JServConnection
Returns the IP address of the agent that sent the request.
getRemoteHost(). Method in class org.apache.jserv.JServConnection
Returns the fully qualified host name of the agent that sent the request.
getRemoteUser(). Method in class org.apache.jserv.JServConnection
Gets the name of the user making this request.
getRequestedSessionId(). Method in class org.apache.jserv.JServConnection
Gets the session id specified with this request.
getRequestURI(). Method in class org.apache.jserv.JServConnection
Gets this request's URI as a URL.
getResource(String). Method in class org.apache.jserv.JServClassLoader
Find a resource with a given name.
getResourceAsStream(String). Method in class org.apache.jserv.JServClassLoader
Get an InputStream on a given resource.
getScheme(). Method in class org.apache.jserv.JServConnection
Returns the scheme of the URL used in this request, for example "http", "https", or "ftp".
getServerName(). Method in class org.apache.jserv.JServConnection
Returns the host name of the server that received the request.
getServerPort(). Method in class org.apache.jserv.JServConnection
Returns the port number on which this request was received.
getServletInfo(). Method in class org.apache.jserv.test.ServletMonitor
getServletNames(). Method in class org.apache.jserv.JServServletManager
Get all the name that are defined in this ServletManager
getServletPath(). Method in class org.apache.jserv.JServConnection
Gets the part of this request's URI that refers to the servlet being invoked.
getSession(boolean). Method in class org.apache.jserv.JServConnection
Gets the current valid session associated with this request, if create is false or, if necessary, creates a new session for the request, if create is true.
getSession(String). Method in class org.apache.jserv.JServServletManager
Returns the session bound to the specified session ID.
getSessionContext(). Method in class org.apache.jserv.JServSession
Returns the context in which this session is bound.
getUrlSessionId(String). Static method in class org.apache.jserv.JServServletManager
Get the session identifier in a query string.
getValue(String). Method in class org.apache.jserv.JServSession
Returns the object bound to the given name in the session's application layer data.
getValueNames(). Method in class org.apache.jserv.JServSession
Returns an array of the names of all the application layer data objects bound into the session.
getWriter(). Method in class org.apache.jserv.JServConnection
Returns a print writer for writing formatted text responses.
GodotServlet(). Constructor for class org.apache.jserv.test.GodotServlet

I

init(JServSendError). Method in class org.apache.jserv.JServServletManager
Load the configuration from the property file and load the startup servlets.
invalidate(). Method in class org.apache.jserv.JServSession
Causes this representation of the session to be invalidated and removed from its context.
isNew(). Method in class org.apache.jserv.JServSession
A session is considered to be "new" if it has been created by the server, but the client has not yet acknowledged joining the session.
isRequestedSessionIdFromCookie(). Method in class org.apache.jserv.JServConnection
Checks whether the session id specified by this request came in as a cookie.
isRequestedSessionIdFromUrl(). Method in class org.apache.jserv.JServConnection
Checks whether the session id specified by this request came in as part of the URL.
isRequestedSessionIdValid(). Method in class org.apache.jserv.JServConnection
Checks whether this request is associated with a session that is valid in the current session context.
isValid(). Method in class org.apache.jserv.JServSession
Has the session been invalidated.

J

JServClassLoader(File). Constructor for class org.apache.jserv.JServClassLoader
Creates a new class loader that will load classes from the file specified as argument.
JServClassLoader(File[]). Constructor for class org.apache.jserv.JServClassLoader
Creates a new class loader that will load classes from a specified path.
JServConnection(Socket, Hashtable). Constructor for class org.apache.jserv.JServConnection
Initalize the streams and starts the thread.
JServDebug(). Constructor for class org.apache.jserv.JServDebug
JServHandler(int, String). Constructor for class org.apache.jserv.JServHandler
JServLock(). Constructor for class org.apache.jserv.JServLock
JServSession(String, JServServletManager). Constructor for class org.apache.jserv.JServSession
Creates a new session.
JServSSI(). Constructor for class org.apache.jserv.JServSSI
The default constructor

L

lastInitialization. Variable in class org.apache.jserv.JServServletManager
The time of the last initialization.
listen_socket. Variable in class org.apache.jserv.JServHandler
loadClass(String, boolean). Method in class org.apache.jserv.JServClassLoader
Resolves the specified name to a Class.
LoadClassTest(). Constructor for class org.apache.jserv.test.LoadClassTest
loader. Variable in class org.apache.jserv.test.ClassLoaderTest
loader. Variable in class org.apache.jserv.JServServletManager
The class loader used for loading new servlet.
loadServlet(String, JServSendError). Method in class org.apache.jserv.JServServletManager
Loads and initialize a servlet.
localhostcheck. Static variable in class org.apache.jserv.JServHandler

M

main(String[]). Static method in class org.apache.jserv.test.ClassLoaderTest
The driver.
main(String[]). Static method in class org.apache.jserv.JServHandler

N

name. Variable in class org.apache.jserv.JServServletManager
The name of this ServletManager.

O

originalParameters. Variable in class org.apache.jserv.JServSSI
Parameters in the original HTTP request, JServSSI passes along any parameter sent in the original request.

P

parseCharacterEncoding(String). Static method in class org.apache.jserv.JServUtils
Parse a content-type header for the character encoding.
parseCookieHeader(String). Static method in class org.apache.jserv.JServUtils
Parse a cookie header into an array of cookies as per the Netscape Cookie specification.
port. Static variable in class org.apache.jserv.JServHandler
properties. Variable in class org.apache.jserv.JServServletManager
The properties containing configuration information for these servlets.
propertyFile. Variable in class org.apache.jserv.JServServletManager
The file that contains the servlet properties.
putValue(String, Object). Method in class org.apache.jserv.JServSession
Binds the specified object into the session's application layer data with the given name.

R

readLock(). Method in class org.apache.jserv.JServLock
Wait for a read lock.
readLock(long). Method in class org.apache.jserv.JServLock
Wait for a read lock.
readUnlock(). Method in class org.apache.jserv.JServLock
Unlocks a previously acquired read lock.
reinstantiate(). Method in class org.apache.jserv.JServClassLoader
Re-instantiate this class loader.
removeSession(JServSession). Method in class org.apache.jserv.JServServletManager
Remove a session from the context.
removeValue(String). Method in class org.apache.jserv.JServSession
Removes the object bound to the given name in the session's application layer data.
repository. Variable in class org.apache.jserv.test.ClassLoaderTest
run(). Method in class org.apache.jserv.JServConnection
run(). Method in class org.apache.jserv.JServHandler
The body of the server thread.

S

sendError(int). Method in class org.apache.jserv.JServConnection
Sends an error response to the client using the specified status code and a default message.
sendError(int, String). Method in class org.apache.jserv.JServConnection
Sends an error response to the client using the specified status code and descriptive message.
sendError(int, String). Method in class org.apache.jserv.JServHandler
Report a problem encountered while initializing.
sendError(Throwable). Method in class org.apache.jserv.JServConnection
JServSendError method.
sendError(Throwable). Method in class org.apache.jserv.JServHandler
Report an exception or error encountered while loading a servlet.
sendHttpHeaders(). Method in class org.apache.jserv.JServConnection
sendRedirect(String). Method in class org.apache.jserv.JServConnection
Sends a temporary redirect response to the client using the specified redirect location URL.
service(HttpServletRequest, HttpServletResponse). Method in class org.apache.jserv.test.ServletMonitor
Service the request.
servletAttributes. Variable in class org.apache.jserv.JServSSI
Attributes of the servlet about to be invoked.
ServletMonitor(). Constructor for class org.apache.jserv.test.ServletMonitor
servletNames. Variable in class org.apache.jserv.JServServletManager
The names of all the named servlet.
sessions. Variable in class org.apache.jserv.JServServletManager
The sessions in this manager.
setContentLength(int). Method in class org.apache.jserv.JServConnection
Sets the content length for this response.
setContentType(String). Method in class org.apache.jserv.JServConnection
Sets the content type for this response.
setDateHeader(String, long). Method in class org.apache.jserv.JServConnection
Adds a field to the response header with the given name and date-valued field.
setHeader(String, String). Method in class org.apache.jserv.JServConnection
Adds a field to the response header with the given name and value.
setIntHeader(String, int). Method in class org.apache.jserv.JServConnection
Adds a field to the response header with the given name and integer value.
setParameter(String, String). Method in class org.apache.jserv.JServConnection
added for the tag support - RZ.
setStatus(int). Method in class org.apache.jserv.JServConnection
Sets the status code for this response.
setStatus(int, String). Method in class org.apache.jserv.JServConnection
Sets the status code and message for this response.
setTracing(int). Static method in class org.apache.jserv.JServDebug
Set the tracing global policy.
setTracing(int, boolean). Static method in class org.apache.jserv.JServDebug
Set the tracing for a module.
shouldReload(). Method in class org.apache.jserv.JServClassLoader
Check whether the classloader should be reinstantiated.
shouldReload(String). Method in class org.apache.jserv.JServClassLoader
Check to see if a given class should be reloaded because of a modification to the original class.
signal_handler. Static variable in class org.apache.jserv.JServHandler
startups. Variable in class org.apache.jserv.JServServletManager
The servlet to load on startup.

T

tGroup. Variable in class org.apache.jserv.JServServletManager
The ThreadGroup in which the servlets are run.
trace(String, int). Static method in class org.apache.jserv.JServDebug
Log a message to stderr, if the tracing is on for the following module.
trace(Throwable). Static method in class org.apache.jserv.JServDebug
Trace an exception if exception tracing is turn on.

U

URLDecode(String). Static method in class org.apache.jserv.JServUtils
This method decodes the given urlencoded string.
URLEncode(String). Static method in class org.apache.jserv.JServUtils
This method urlencodes the given string.

V

version. Static variable in class org.apache.jserv.JServHandler

W

writeLock(). Method in class org.apache.jserv.JServLock
Wait for a read lock.
writeLock(long). Method in class org.apache.jserv.JServLock
Wait for a read lock.
writeUnlock(). Method in class org.apache.jserv.JServLock
Unlock a previously acquired write lock.