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

A

accept() - Method in class org.apache.java.net.AuthenticatedServerSocket
Blocks until a connection is made to the port.
access() - Method in class org.apache.jserv.JServSession
Tells the session that it has been accessed
active - Variable in class org.apache.java.io.LogWriter
Tells if this log is active
AdaptiveClassLoader - class org.apache.java.lang.AdaptiveClassLoader.
A class loader that loads classes from directories and/or zip-format file such as JAR file.
AdaptiveClassLoader(Vector) - Constructor for class org.apache.java.lang.AdaptiveClassLoader
Creates a new class loader that will load classes from specified class repositories.
AdaptiveController - class org.apache.java.recycle.AdaptiveController.
This controller creates a simple yet very effective negative feedback that stabilizes the level of the container.
AdaptiveController() - Constructor for class org.apache.java.recycle.AdaptiveController
 
addCookie(Cookie) - Method in class org.apache.jserv.JServConnection
Adds the specified cookie to the response.
Ajpv12InputStream - class org.apache.jserv.Ajpv12InputStream.
A high speed wrapper around the connection to the server.
Ajpv12InputStream(InputStream) - Constructor for class org.apache.jserv.Ajpv12InputStream
 
Ajpv12InputStream(InputStream, int) - Constructor for class org.apache.jserv.Ajpv12InputStream
 
append(byte[]) - Method in class org.apache.java.security.MessageDigest
Append another block to the message.
append(byte[], byte[]) - Static method in class org.apache.java.lang.Bytes
Appends two bytes array into one.
append(byte[], byte[], byte[]) - Static method in class org.apache.java.lang.Bytes
Appends three bytes array into one.
append(byte[], int) - Method in class org.apache.java.security.MessageDigest
Append another block of specified length to the message.
append(byte[], int, int) - Method in class org.apache.java.security.MessageDigest
Append another block of specified length to the message starting at the given offset.
append(byte[], int, int) - Method in class org.apache.java.security.MD5
Append another block of specified length to the message starting at the given offset.
areEqual(byte[], byte[]) - Static method in class org.apache.java.lang.Bytes
Compares two byte arrays for equality.
auth - Variable in class org.apache.jserv.JServConnection
 
AuthenticatedServerSocket - class org.apache.java.net.AuthenticatedServerSocket.
This class implements an authenticated server socket that binds to port and listens for authenticated connections.
AuthenticatedServerSocket(int, int, Vector) - Constructor for class org.apache.java.net.AuthenticatedServerSocket
Construct the authenticated socket listening to the specified port but with authentication disabled.
AuthenticatedServerSocket(int, int, Vector, InetAddress) - Constructor for class org.apache.java.net.AuthenticatedServerSocket
Construct the authenticated socket listening to the specified port but with authentication disabled.
AuthenticatedServerSocket(int, int, Vector, MessageDigest, byte[], int, InetAddress) - Constructor for class org.apache.java.net.AuthenticatedServerSocket
Construct the authenticated socket listening to the specified port.
AuthenticatedSocket - class org.apache.java.net.AuthenticatedSocket.
This class implements an authenticated server socket that binds to port and listens for authenticated connections.
AuthenticatedSocket(String, int) - Constructor for class org.apache.java.net.AuthenticatedSocket
 
AuthenticatedSocket(String, int, MessageDigest, byte[]) - Constructor for class org.apache.java.net.AuthenticatedSocket
 
AuthenticationException - exception org.apache.java.net.AuthenticationException.
This exception is thrown when socket authentication fails.
AuthenticationException() - Constructor for class org.apache.java.net.AuthenticationException
Constructs a new AuthenticationException with no detail message.
AuthenticationException(String) - Constructor for class org.apache.java.net.AuthenticationException
Constructs a new AuthenticationException with the specified detail message.
available() - Method in class org.apache.jserv.JServConnection.JServInputStream
We must implement this method because java.io.InputStream javadocs says that this will return 0.

B

Bytes - class org.apache.java.lang.Bytes.
Static methods for managing byte arrays (all methods follow Big Endian order where most significant bits are in front).
Bytes() - Constructor for class org.apache.java.lang.Bytes
 

C

called_getInput - Variable in class org.apache.jserv.JServConnection
 
called_getOutput - Variable in class org.apache.jserv.JServConnection
 
CH_CONTAINER_EXCEPTION - Static variable in interface org.apache.jserv.JServLogChannels
Container (i.e.
CH_CRITICAL - Static variable in interface org.apache.jserv.JServLogChannels
Critical messages that stop further processing.
CH_DEBUG - Static variable in interface org.apache.jserv.JServLogChannels
Debugging messages
CH_EXCEPTION_TRACING - Static variable in class org.apache.java.io.LogWriter
String identifier for the exception tracing channel.
CH_INFO - Static variable in interface org.apache.jserv.JServLogChannels
Informational messages
CH_QUEUE_STATUS - Static variable in class org.apache.java.io.LogWriter
 
CH_SERVLET_EXCEPTION - Static variable in interface org.apache.jserv.JServLogChannels
Exceptions internal to servlets (thrown in servlet.service())
CH_SERVLET_LOG - Static variable in interface org.apache.jserv.JServLogChannels
Servlet log channel identifier.
CH_WARNING - Static variable in interface org.apache.jserv.JServLogChannels
Warnings, i.e.
channel - Variable in class org.apache.java.io.LogRecord
Log channel.
checkReload(JServSendError) - Method in class org.apache.jserv.JServServletManager
Reinstantiate the classloader if necessary.
clean() - Method in interface org.apache.java.recycle.Recyclable
This method cleans this object by setting every container reference to null, causing the content to be garbage collected.
client - Variable in class org.apache.jserv.JServConnection
 
close() - Method in class org.apache.jserv.JServConnection.JServInputStream
 
colors - Static variable in class org.apache.jserv.JServ
 
confFile - Variable in class org.apache.jserv.JServServletManager
The file that contains the servlet properties.
configurations - Variable in class org.apache.java.io.LogWriter
Configuration parameters.
Configurations - class org.apache.java.util.Configurations.
This class is used to encapsulate properties and addresses the need for a flexible, portable and fast configurations repository.
Configurations() - Constructor for class org.apache.java.util.Configurations
Creates an empty configuration repository with no default values.
Configurations(Configurations) - Constructor for class org.apache.java.util.Configurations
Creates an empty configuration repository with the specified defaults.
Configurations(ConfigurationsRepository) - Constructor for class org.apache.java.util.Configurations
Creates a configuration repository encapsulating the given properties with no default values.
Configurations(ConfigurationsRepository, Configurations) - Constructor for class org.apache.java.util.Configurations
Merge the given properties object as configurations.
ConfigurationsRepository - class org.apache.java.util.ConfigurationsRepository.
This class must be extended by properties providers that are syntax dependent.
ConfigurationsRepository() - Constructor for class org.apache.java.util.ConfigurationsRepository
Creates an empty configuration repository.
ConfigurationsRepository(String) - Constructor for class org.apache.java.util.ConfigurationsRepository
Creates a configuration repository parsing given file.
ConfigurationsRepository(String, String) - Constructor for class org.apache.java.util.ConfigurationsRepository
Creates a configuration repository parsing given file and using given model.
confs - Variable in class org.apache.jserv.JServServletManager
The configurations containing information for these servlets.
confs - Static variable in class org.apache.jserv.JServ
 
Container - class org.apache.java.recycle.Container.
This class implements the simplest recycle bin wrapping around a Stack implementation.
Container() - Constructor for class org.apache.java.recycle.Container
 
containsHeader(String) - Method in class org.apache.jserv.JServConnection
Checks whether the response message header has a field with the specified name.
context - Variable in class org.apache.jserv.JServConnection
 
ControlledContainer - class org.apache.java.recycle.ControlledContainer.
This class wraps around a RecycleBin to control it with a given controller.
ControlledContainer(RecycleBin, Controller) - Constructor for class org.apache.java.recycle.ControlledContainer
 
Controller - interface org.apache.java.recycle.Controller.
This interface should be implemented by those classes willing to control the level of recycle bins.
ControllerFactory - class org.apache.java.recycle.ControllerFactory.
This class provides static methods to create Controllers given their class names.
ControllerFactory() - Constructor for class org.apache.java.recycle.ControllerFactory
 
cookies_in - Variable in class org.apache.jserv.JServConnection
 
cookies_out - Variable in class org.apache.jserv.JServConnection
 
copy(byte[], int) - Static method in class org.apache.java.lang.Bytes
Gets the end of the byte array given.
copy(byte[], int, int) - Static method in class org.apache.java.lang.Bytes
Gets a sub-set of the byte array given.
create() - Static method in class org.apache.java.recycle.ControllerFactory
Create the default Controller.
create(String) - Static method in class org.apache.java.recycle.ControllerFactory
Create the controller indentified by the name.
createSession(HttpServletResponse) - Method in class org.apache.jserv.JServServletManager
Creates a new session.
createSession(HttpServletResponse, String) - Method in class org.apache.jserv.JServServletManager
Creates a new session.
creationTime - Variable in class org.apache.jserv.JServSession
The time at which this session has been created

D

date - Variable in class org.apache.java.io.LogRecord
Creation time.
DEBUG - Static variable in class org.apache.java.recycle.ControllerFactory
 
DEBUG - Static variable in class org.apache.java.recycle.pool.WorkerPool
 
DEFAULT_CONTROLLER - Static variable in class org.apache.jserv.JServ
 
DEFAULT_DATEFORMAT - Static variable in class org.apache.java.io.LogWriter
This string control the standard date format used used for log timestamping.
DEFAULT_IDENTIFIER - Static variable in class org.apache.java.io.LogWriter
This string identifies this log writer and its used to differentiate between configurations.
DEFAULT_PORT - Static variable in class org.apache.jserv.JServ
Default port to listen to.
defaultArgs - Variable in class org.apache.jserv.JServServletManager
The default init arguments for all the servlets in this name space.
DefaultController - class org.apache.java.recycle.DefaultController.
The default controller doesn't do anything.
DefaultController() - Constructor for class org.apache.java.recycle.DefaultController
 
destroy() - Method in interface org.apache.java.recycle.Recyclable
This method is called to kill this object when not needed.
destroyServlet(String) - Method in class org.apache.jserv.JServServletManager
Destroy one servlet or a set of SingleThreadModel servlets.
destroyServlets() - Method in class org.apache.jserv.JServServletManager
Destroy all the servlets and servlet contexts.
digest(byte[]) - Method in class org.apache.java.security.MessageDigest
Appends a message block and return its message digest.
digest(byte[], int) - Method in class org.apache.java.security.MessageDigest
Appends a message block with specified length and return its message digest.
digest(byte[], int, int) - Method in class org.apache.java.security.MessageDigest
Appends a message block with specified length starting from the given offset and return its message digest.
digest(byte[], int, int) - Method in class org.apache.java.security.MD5
Appends a message block with specified length starting from the given offset and return its message digest.
down() - Method in class org.apache.java.recycle.GaussianController
Writes on the memory of this controller decrementing the level.
down() - Method in class org.apache.java.recycle.AdaptiveController
Signal an object request.
down() - Method in class org.apache.java.recycle.MinMaxController
Writes on the memory of this controller decrementing the level.
down() - Method in interface org.apache.java.recycle.Controller
This method is called by a ControlledContainer when some object is removed from the container.
down() - Method in class org.apache.java.recycle.DefaultController
 

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) - Method in class org.apache.jserv.JServServletManager
Encode a URL with a session identifier.
entry() - Method in class org.apache.java.lang.Semaphore
 
env_vars - Variable in class org.apache.jserv.JServConnection
 
execute(Stoppable) - Method in class org.apache.java.recycle.pool.WorkerPool
 
exit() - Method in class org.apache.java.lang.Semaphore
 
ExtendedProperties - class org.apache.java.util.ExtendedProperties.
This class extends normal Java properties by adding the possibility to use the same key many times concatenating the value strings instead of overwriting them.
ExtendedProperties() - Constructor for class org.apache.java.util.ExtendedProperties
Creates an empty extended properties object.
ExtendedProperties(String) - Constructor for class org.apache.java.util.ExtendedProperties
Creates and loads the extended properties from the specified file.

F

fail(String) - Static method in class org.apache.jserv.JServ
Exit with an error message.
fail(String, Throwable) - Static method in class org.apache.jserv.JServ
Exit with an error message formatted using the exception message.
file - Variable in class org.apache.java.util.ConfigurationsRepository
The file connected to this repository (holding comments and such)
findStatusString(int) - Static method in class org.apache.jserv.JServConnection
Finds a status string from one of the standard status code.
flush() - Method in interface org.apache.java.io.Logger
Flush the log.
flush() - Method in class org.apache.java.io.LogWriter
Flush the log.
flush() - Method in class org.apache.java.io.LogWriter.Agent
Flush the log record queue.

G

GaussianController - class org.apache.java.recycle.GaussianController.
This is an adaptive controller based on a statistical analysis of the level transitions.
GaussianController() - Constructor for class org.apache.java.recycle.GaussianController
 
get() - Method in class org.apache.java.util.SimpleQueue
Get the object waiting in the queue.
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.
getBoolean(String) - Method in class org.apache.java.util.Configurations
Get a boolean associated with the given configuration key.
getBoolean(String, boolean) - Method in class org.apache.java.util.Configurations
Get a boolean associated with the given configuration key.
getBoolean(String, Boolean) - Method in class org.apache.java.util.Configurations
Get a boolean associated with the given configuration key.
getByte(String) - Method in class org.apache.java.util.Configurations
Get a byte associated with the given configuration key.
getByte(String, byte) - Method in class org.apache.java.util.Configurations
Get a byte associated with the given configuration key.
getByte(String, Byte) - Method in class org.apache.java.util.Configurations
Get a byte associated with the given configuration key.
getChallengeSize() - Method in class org.apache.java.net.AuthenticatedServerSocket
Return the currently used challenge size.
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[]) - 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.
getDouble(String) - Method in class org.apache.java.util.Configurations
Get a double associated with the given configuration key.
getDouble(String, double) - Method in class org.apache.java.util.Configurations
Get a double associated with the given configuration key.
getDouble(String, Double) - Method in class org.apache.java.util.Configurations
Get a double associated with the given configuration key.
getFilterList() - Method in class org.apache.java.net.AuthenticatedServerSocket
Return the IP address filter list used by this server socket.
getFloat(String) - Method in class org.apache.java.util.Configurations
Get a float associated with the given configuration key.
getFloat(String, float) - Method in class org.apache.java.util.Configurations
Get a float associated with the given configuration key.
getFloat(String, Float) - Method in class org.apache.java.util.Configurations
Get a float associated with the given configuration key.
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.
getHostName() - Method in class org.apache.jserv.JServConnection
Return the hostname
getId() - Method in class org.apache.jserv.JServSession
Returns the identifier assigned to this session.
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.
getInteger(String) - Method in class org.apache.java.util.Configurations
Get a int associated with the given configuration key.
getInteger(String, int) - Method in class org.apache.java.util.Configurations
Get a int associated with the given configuration key.
getInteger(String, Integer) - Method in class org.apache.java.util.Configurations
Get a int associated with the given configuration key.
getIntHeader(String) - Method in class org.apache.jserv.JServConnection
Gets the value of the specified integer header field of this request.
getJServRoute() - Method in class org.apache.jserv.JServConnection
Returns the JServ Identifier for this server it is passed in through the env_vars as "JSERV_ROUTE"
getKeys() - Method in class org.apache.java.util.Configurations
Get the list of the keys contained in the configuration repository.
getLastAccessedTime() - Method in class org.apache.jserv.JServSession
Returns the last time the client sent a request carrying the identifier assigned to the session.
getList(String) - Method in class org.apache.java.util.Configurations
Get a list of strings associated with the given configuration key.
getLoadedServlets() - Method in class org.apache.jserv.JServServletManager
Get an enumeration of all the servlets that have been loaded.
getLong(String) - Method in class org.apache.java.util.Configurations
Get a long associated with the given configuration key.
getLong(String, long) - Method in class org.apache.java.util.Configurations
Get a long associated with the given configuration key.
getLong(String, Long) - Method in class org.apache.java.util.Configurations
Get a long associated with the given configuration key.
getMaxConnections() - Method in class org.apache.java.net.AuthenticatedServerSocket
Return maximum number of connections this socket can handle.
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
Deprecated. Please use getParameterValues
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.
getProperties(String) - Method in class org.apache.java.util.Configurations
Get a list of properties associated with the given configuration key.
getProperties(String, Properties) - Method in class org.apache.java.util.Configurations
Get a list of properties associated with the given configuration key.
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.
getRecyclable() - Method in class org.apache.java.recycle.Container
 
getRecyclable() - Method in interface org.apache.java.recycle.RecycleBin
This method is called to obtain a recyclable object from this recycle bin.
getRecyclable() - Method in class org.apache.java.recycle.ControlledContainer
 
getRecyclable() - Method in class org.apache.java.recycle.LimitedContainer
 
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.
getRepository() - Method in class org.apache.java.util.Configurations
Get encapsulated configuration repository.
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.java.lang.AdaptiveClassLoader
Find a resource with a given name.
getResourceAsStream(String) - Method in class org.apache.java.lang.AdaptiveClassLoader
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.
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.
getShort(String) - Method in class org.apache.java.util.Configurations
Get a short associated with the given configuration key.
getShort(String, short) - Method in class org.apache.java.util.Configurations
Get a short associated with the given configuration key.
getShort(String, Short) - Method in class org.apache.java.util.Configurations
Get a short associated with the given configuration key.
getSize() - Method in class org.apache.java.recycle.Container
 
getSize() - Method in interface org.apache.java.recycle.RecycleBin
This method returns the actual number of recyclable objects contained in this recycle bin.
getSize() - Method in class org.apache.java.recycle.ControlledContainer
 
getSize() - Method in class org.apache.java.recycle.LimitedContainer
 
getString(String) - Method in class org.apache.java.util.Configurations
Get a string associated with the given configuration key.
getString(String, String) - Method in class org.apache.java.util.Configurations
Get a string associated with the given configuration key.
getStringArray(String) - Method in class org.apache.java.util.Configurations
Get an array of strings associated with the given configuration key.
getUrlSessionId(String) - 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.
getVector(String) - Method in class org.apache.java.util.Configurations
Get a Vector of strings associated with the given configuration key.
getVector(String, Vector) - Method in class org.apache.java.util.Configurations
Get a Vector of strings associated with the given configuration key.
getWriter() - Method in class org.apache.jserv.JServConnection
Returns a print writer for writing formatted text responses.
got_input - Variable in class org.apache.jserv.JServConnection
 

H

headers_in - Variable in class org.apache.jserv.JServConnection
 
headers_out - Variable in class org.apache.jserv.JServConnection
 
hostname - Variable in class org.apache.jserv.JServConnection
 

I

id - Variable in class org.apache.jserv.JServSession
The session id
idCameAsCookie - Variable in class org.apache.jserv.JServConnection
 
idCameAsUrl - Variable in class org.apache.jserv.JServConnection
 
in - Variable in class org.apache.jserv.JServConnection
 
in - Variable in class org.apache.jserv.JServConnection.JServInputStream
 
init(JServSendError) - Method in class org.apache.jserv.JServServletManager
Load the configuration from the property file and load the startup servlets.
init(Socket, Semaphore) - Method in class org.apache.jserv.JServConnection
Initalize the connection handler with the client socket.
invalidate() - Method in class org.apache.jserv.JServSession
Causes this representation of the session to be invalidated and removed from its context.
isActive() - Method in interface org.apache.java.io.Logger
Tells if it is active.
isActive() - Method in class org.apache.java.io.LogWriter
Tells if it is active.
isActive(String) - Method in interface org.apache.java.io.Logger
Tells if the given channel is active.
isActive(String) - Method in class org.apache.java.io.LogWriter
Tells if the given channel is active.
isEmpty() - Method in class org.apache.java.util.SimpleQueue
Find out if the queue is empty.
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.
isThereRoomFor(Recyclable) - Method in class org.apache.java.recycle.GaussianController
Evaluates the room for the object to recycle basing this decision to the optimum level estrapolated from the level history.
isThereRoomFor(Recyclable) - Method in class org.apache.java.recycle.AdaptiveController
Evaluates the room for the recyclable object
isThereRoomFor(Recyclable) - Method in class org.apache.java.recycle.MinMaxController
Evaluates the room for the object to recycle basing this decision to the optimum level estrapolated from the level history.
isThereRoomFor(Recyclable) - Method in interface org.apache.java.recycle.Controller
This method is called to obtain info about the container level status and should return true if the controller grants access for the new object to be stored in the container.
isThereRoomFor(Recyclable) - Method in class org.apache.java.recycle.DefaultController
 
isValid() - Method in class org.apache.jserv.JServSession
Has the session been invalidated.

J

JServ - class org.apache.jserv.JServ.
JServ is the entry point to the Java part of JServ
JServ() - Constructor for class org.apache.jserv.JServ
 
JServConnection - class org.apache.jserv.JServConnection.
This class is the thread that handles all communications between the Java VM and the web server.
JServConnection.JServInputStream - class org.apache.jserv.JServConnection.JServInputStream.
ServletInputStream implementation as inner class
JServConnection.JServInputStream(JServConnection, InputStream) - Constructor for class org.apache.jserv.JServConnection.JServInputStream
 
JServConnection() - Constructor for class org.apache.jserv.JServConnection
 
JServDefs - interface org.apache.jserv.JServDefs.
This interface is a placeholder for some of the constants used throughout the ApacheJServ project.
JServLogChannels - interface org.apache.jserv.JServLogChannels.
Changes made before 1.0.1 release to log messages by severity, not by the portion of code they occur in.
JServServletManager - class org.apache.jserv.JServServletManager.
Class that encapsulates the loading and managing of servlets per servlet zone.
JServSession - class org.apache.jserv.JServSession.
This is the object that encapsulates a session.
JServSession(String, JServServletManager) - Constructor for class org.apache.jserv.JServSession
Creates a new session.
JServUtils - class org.apache.jserv.JServUtils.
Various utility methods used by the servlet engine.
JServUtils() - Constructor for class org.apache.jserv.JServUtils
 

K

KEYWORD_CHANNEL - Static variable in class org.apache.java.io.LogWriter
 
KEYWORD_DATEFORMAT - Static variable in class org.apache.java.io.LogWriter
 
KEYWORD_FILE - Static variable in class org.apache.java.io.LogWriter
 
KEYWORD_QUEUE_MAXAGE - Static variable in class org.apache.java.io.LogWriter
 
KEYWORD_QUEUE_MAXSIZE - Static variable in class org.apache.java.io.LogWriter
 
KEYWORD_TIMESTAMP - Static variable in class org.apache.java.io.LogWriter
 

L

lastAccessTime - Variable in class org.apache.jserv.JServSession
The last time the session was accessed.
lastInitialization - Variable in class org.apache.jserv.JServServletManager
The time of the last initialization.
LimitedContainer - class org.apache.java.recycle.LimitedContainer.
This class wraps around a container to limit its capacity.
LimitedContainer(RecycleBin, int) - Constructor for class org.apache.java.recycle.LimitedContainer
 
load_init(String, JServSendError) - Method in class org.apache.jserv.JServServletManager
 
load(InputStream) - Method in class org.apache.java.util.ConfigurationsRepository
 
load(InputStream) - Method in class org.apache.java.util.ExtendedProperties
Load the properties from the given input stream.
loadClass(String, boolean) - Method in class org.apache.java.lang.AdaptiveClassLoader
Resolves the specified name to a Class.
loader - Variable in class org.apache.jserv.JServServletManager
The class loader used for loading new servlets
loadServlet(String, JServSendError) - Method in class org.apache.jserv.JServServletManager
Loads and initialize a servlet.
Lock - class org.apache.java.lang.Lock.
This is a reader/writer lock object.
Lock() - Constructor for class org.apache.java.lang.Lock
 
log - Static variable in class org.apache.jserv.JServ
 
log(String, String) - Method in interface org.apache.java.io.Logger
Prints the log message on the right channel.
log(String, String) - Method in class org.apache.java.io.LogWriter
Prints the log message on the right channel.
log(String, Throwable) - Method in interface org.apache.java.io.Logger
Prints the error message and stack trace if channel enabled.
log(String, Throwable) - Method in class org.apache.java.io.LogWriter
Prints the error message and stack trace if channel enabled.
log(Throwable) - Method in class org.apache.java.io.LogWriter
Deprecated.  
Logger - interface org.apache.java.io.Logger.
This interface represents a simple logger (LogWriter is an implementation).
logQueue - Variable in class org.apache.java.io.LogWriter
Log message queue.
LogRecord - class org.apache.java.io.LogRecord.
Class to store the logging information until it gets processed by the logger thread.
LogRecord(String, String, Throwable) - Constructor for class org.apache.java.io.LogRecord
Constructor.
LogWriter - class org.apache.java.io.LogWriter.
A LogWriter allows an application to incapsulate an output stream and dumps its logs on it.
LogWriter.Agent - class org.apache.java.io.LogWriter.Agent.
Class implementing the background logging.
LogWriter.Agent(LogWriter) - Constructor for class org.apache.java.io.LogWriter.Agent
 
LogWriter(Configurations) - Constructor for class org.apache.java.io.LogWriter
Constructs this class and gets output file from configurations.
LogWriter(OutputStream, Configurations) - Constructor for class org.apache.java.io.LogWriter
Constructs this class with the output stream to encapsulate using default identifier.
LogWriter(OutputStream, String, Configurations) - Constructor for class org.apache.java.io.LogWriter
Constructs this class with the output stream to encapsulate.
LogWriter(String, Configurations) - Constructor for class org.apache.java.io.LogWriter
Constructs this class using identifier to discriminate between configuration parameters and gets output file from configurations.
LogWriter(Writer, Configurations) - Constructor for class org.apache.java.io.LogWriter
Constructs this class with the output writer to encapsulate using default identifier.
LogWriter(Writer, String, Configurations) - Constructor for class org.apache.java.io.LogWriter
Constructs this class with the output writer to encapsulate.

M

main(String[]) - Static method in class org.apache.java.security.MD5
 
main(String[]) - Static method in class org.apache.jserv.JServ
Start up JServ.
maxRandomLen - Static variable in class org.apache.jserv.JServServletManager
 
maxSessionLifespanTics - Static variable in class org.apache.jserv.JServServletManager
 
MD5 - class org.apache.java.security.MD5.
This class implements the Message Digest 5 algorithm (MD5) as defined in RFC-1321.
MD5() - Constructor for class org.apache.java.security.MD5
Creates the algorithm and reset its state.
merge(byte[], byte[]) - Static method in class org.apache.java.lang.Bytes
Merges a bytes array into another.
merge(byte[], byte[], int) - Static method in class org.apache.java.lang.Bytes
Merges a bytes array into another starting from the given position.
merge(byte[], byte[], int, int) - Static method in class org.apache.java.lang.Bytes
Merges a bytes array into another starting from the given position.
merge(byte[], byte[], int, int, int) - Static method in class org.apache.java.lang.Bytes
Merges a bytes array into another starting from the given positions.
message - Variable in class org.apache.java.io.LogRecord
Message to log, if any.
MessageDigest - class org.apache.java.security.MessageDigest.
This interface abstracts a message digest algorithm.
MessageDigest() - Constructor for class org.apache.java.security.MessageDigest
Creates the algorithm and reset its state.
mgr - Variable in class org.apache.jserv.JServConnection
 
MinMaxController - class org.apache.java.recycle.MinMaxController.
This level controller is based on a simpler variance method: the variance of the request frequency is obtained from the difference between the minimum and maximum value of the level.
MinMaxController() - Constructor for class org.apache.java.recycle.MinMaxController
 
model - Variable in class org.apache.java.util.ConfigurationsRepository
The file that contains the model of this repository

N

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

O

org.apache.java.io - package org.apache.java.io
 
org.apache.java.lang - package org.apache.java.lang
 
org.apache.java.net - package org.apache.java.net
 
org.apache.java.recycle - package org.apache.java.recycle
 
org.apache.java.recycle.pool - package org.apache.java.recycle.pool
 
org.apache.java.security - package org.apache.java.security
 
org.apache.java.util - package org.apache.java.util
 
org.apache.jserv - package org.apache.jserv
 
out - Variable in class org.apache.jserv.JServConnection
 

P

PACKAGE - Static variable in interface org.apache.jserv.JServDefs
Defines the name of the package.
params - Variable in class org.apache.jserv.JServConnection
 
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 RFC2109 - HTTP Cookies
parseParams() - Method in class org.apache.jserv.JServConnection
Parse parameter stuff.
peekAtHead() - Method in class org.apache.java.util.SimpleQueue
Get the object at the head of the queue.
pool - Static variable in class org.apache.jserv.JServ
 
processRequest() - Method in class org.apache.jserv.JServConnection
 
PROFILE - Static variable in interface org.apache.jserv.JServDefs
Enables or disables the PROFILE flag.
put(Object) - Method in class org.apache.java.util.SimpleQueue
Put the object into the queue.
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.

Q

QUICK_DEBUG - Static variable in class org.apache.java.recycle.pool.WorkerPool
 

R

read() - Method in class org.apache.jserv.JServConnection.JServInputStream
 
read(byte[]) - Method in class org.apache.java.io.ReadFullyInputStream
Fill given byte array with bytes read from the stream and return only when all the array has been filled.
read(byte[]) - Method in class org.apache.jserv.JServConnection.JServInputStream
 
read(byte[], int, int) - Method in class org.apache.java.io.ReadFullyInputStream
Fill given byte array with bytes read from the stream and return only when all the array has been filled.
read(byte[], int, int) - Method in class org.apache.jserv.JServConnection.JServInputStream
 
readData() - Method in class org.apache.jserv.JServConnection
Read all the data.
ReadFullyInputStream - class org.apache.java.io.ReadFullyInputStream.
This class implements an input stream whose read() methods perform a full reading of the requested length.
ReadFullyInputStream(InputStream) - Constructor for class org.apache.java.io.ReadFullyInputStream
Default Constructor
readLock() - Method in class org.apache.java.lang.Lock
Wait for a read lock.
readLock(long) - Method in class org.apache.java.lang.Lock
Wait for a read lock.
readString(String) - Method in class org.apache.jserv.Ajpv12InputStream
 
readUnlock() - Method in class org.apache.java.lang.Lock
Unlocks a previously acquired read lock.
readWord() - Method in class org.apache.jserv.Ajpv12InputStream
 
Recyclable - interface org.apache.java.recycle.Recyclable.
This interface standardizes the behaviour of a recyclable object.
recycle(Recyclable) - Method in class org.apache.java.recycle.Container
 
recycle(Recyclable) - Method in interface org.apache.java.recycle.RecycleBin
This method is called to recycle a recyclable object into this container.
recycle(Recyclable) - Method in class org.apache.java.recycle.ControlledContainer
 
recycle(Recyclable) - Method in class org.apache.java.recycle.LimitedContainer
 
RecycleBin - interface org.apache.java.recycle.RecycleBin.
This interface standardize the behaviour of a RecycleBin object, used to contain a pool of Recyclable objects.
RecycleBinIsEmpty - exception org.apache.java.recycle.RecycleBinIsEmpty.
This exception is thrown by a RecycleBin subclass to signal that it does not contain any Recyclable objects.
RecycleBinIsEmpty() - Constructor for class org.apache.java.recycle.RecycleBinIsEmpty
 
RecycleBinIsFull - exception org.apache.java.recycle.RecycleBinIsFull.
This exception is thrown by a RecycleBin subclass to signal that it cannot contain any more Recyclable objects.
RecycleBinIsFull() - Constructor for class org.apache.java.recycle.RecycleBinIsFull
 
reinstantiate() - Method in class org.apache.java.lang.AdaptiveClassLoader
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.
requestedSessionId - Variable in class org.apache.jserv.JServConnection
 
reset() - Method in class org.apache.java.security.MessageDigest
Resets the state of the class.
reset() - Method in class org.apache.java.security.MD5
Resets the state of the class.
restart() - Static method in class org.apache.jserv.JServ
Restart JServ.
run() - Method in class org.apache.java.io.LogWriter.Agent
Wait for the messages in the log message queue and pass them to the log media, whatever it is.
run() - Method in interface org.apache.java.lang.Stoppable
This method is called to start the job.
run() - Method in class org.apache.jserv.JServServletManager
The housekeeping thread Checks for sessions that have not been used for a certain amount of time and invalidates them.
run() - Method in class org.apache.jserv.JServConnection
This methods provides and incapsulates the Servlet service.

S

save(OutputStream, String) - Method in class org.apache.java.util.ConfigurationsRepository
 
save(OutputStream, String) - Method in class org.apache.java.util.ExtendedProperties
Save the properties to the given outputstream.
Semaphore - class org.apache.java.lang.Semaphore.
 
Semaphore(int) - Constructor for class org.apache.java.lang.Semaphore
 
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(Throwable) - Method in class org.apache.jserv.JServConnection
JServSendError method.
sendHttpHeaders() - Method in class org.apache.jserv.JServConnection
Send the HTTP headers and prepare to send response.
sendRedirect(String) - Method in class org.apache.jserv.JServConnection
Sends a temporary redirect response to the client using the specified redirect location URL.
sent_header - Variable in class org.apache.jserv.JServConnection
 
service(HttpServletRequest, HttpServletResponse) - Method in class org.apache.jserv.JServ
JServ is also a servlet that returns info to the client about its status.
servlet - Variable in class org.apache.jserv.JServConnection
 
servlet_in - Variable in class org.apache.jserv.JServConnection
 
servlet_out - Variable in class org.apache.jserv.JServConnection
 
servlet_reader - Variable in class org.apache.jserv.JServConnection
 
servlet_writer - Variable in class org.apache.jserv.JServConnection
 
servletManagerTable - Static variable in class org.apache.jserv.JServ
 
servletmethod - Variable in class org.apache.jserv.JServConnection
 
servletname - Variable in class org.apache.jserv.JServConnection
 
servletNames - Variable in class org.apache.jserv.JServServletManager
The names of all the named servlet.
servletzone - Variable in class org.apache.jserv.JServConnection
 
session - Variable in class org.apache.jserv.JServConnection
 
session_identifier - Variable in class org.apache.jserv.JServServletManager
A (slightly more) unique session identifier derived from SESSION_IDENTIFIER_BASE and name.
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.
shouldReload() - Method in class org.apache.java.lang.AdaptiveClassLoader
Check whether the classloader should be reinstantiated.
shouldReload(String) - Method in class org.apache.java.lang.AdaptiveClassLoader
Check to see if a given class should be reloaded because of a modification to the original class.
signal - Variable in class org.apache.jserv.JServConnection
 
SimpleQueue - class org.apache.java.util.SimpleQueue.
Implements single queue.
SimpleQueue() - Constructor for class org.apache.java.util.SimpleQueue
Default constructor.
size() - Method in class org.apache.java.util.SimpleQueue
Get the number of elements in the queue.
skip(long) - Method in class org.apache.jserv.JServConnection.JServInputStream
 
startups - Variable in class org.apache.jserv.JServServletManager
The servlets to load on startup.
status - Variable in class org.apache.jserv.JServConnection
 
status_string - Variable in class org.apache.jserv.JServConnection
 
stm_servlet - Variable in class org.apache.jserv.JServConnection
 
stop() - Method in interface org.apache.java.lang.Stoppable
This method is called to terminate the job.
stop() - Method in class org.apache.jserv.JServConnection
This method is now empty but will be used when thread timing will be in place to allow graceful signaling of execution timeout.
Stoppable - interface org.apache.java.lang.Stoppable.
This interface is an extension to the Runnable interface that allows jobs to be safely stopped.

T

t - Variable in class org.apache.java.io.LogRecord
Exception to log, if any.
terminate() - Static method in class org.apache.jserv.JServ
Terminate JServ.
tGroup - Variable in class org.apache.jserv.JServServletManager
The ThreadGroup in which the servlets are run.
throttle() - Method in class org.apache.java.lang.Semaphore
 
ticDifference - Static variable in class org.apache.jserv.JServServletManager
 
TimeoutException - exception org.apache.java.lang.TimeoutException.
This Exception is thrown when a specified timeout is reached without suceeding in completing the action.
TimeoutException() - Constructor for class org.apache.java.lang.TimeoutException
Default constructor.
TimeoutException(String) - Constructor for class org.apache.java.lang.TimeoutException
Constructor with a message associated.
toBytes(int) - Static method in class org.apache.java.lang.Bytes
Returns a 4-byte array built from an int.
toBytes(int, byte[]) - Static method in class org.apache.java.lang.Bytes
Build a 4-byte array from an int.
toBytes(long) - Static method in class org.apache.java.lang.Bytes
Returns a 8-byte array built from a long.
toBytes(long) - Static method in class org.apache.java.security.MD5
Converts a long to a 8-byte array using low order first.
toBytes(long, byte[]) - Static method in class org.apache.java.lang.Bytes
Build a 8-byte array from a long.
toInt(byte[]) - Static method in class org.apache.java.lang.Bytes
Build an int from first 4 bytes of the array.
toLong(byte[]) - Static method in class org.apache.java.lang.Bytes
Build a long from first 8 bytes of the array.
toString(byte[]) - Static method in class org.apache.java.lang.Bytes
Returns a string of hexadecimal digits from a byte array..
toString(byte[], int, int) - Static method in class org.apache.java.lang.Bytes
Returns a string of hexadecimal digits from a byte array, starting at offset and continuing for length bytes.
TURBO - Static variable in interface org.apache.jserv.JServDefs
Enables or disables TURBO flag.

U

up() - Method in class org.apache.java.recycle.GaussianController
Writes on the memory of this controller incrementing the level.
up() - Method in class org.apache.java.recycle.AdaptiveController
Signal an object recycle.
up() - Method in class org.apache.java.recycle.MinMaxController
Writes on the memory of this controller incrementing the level.
up() - Method in interface org.apache.java.recycle.Controller
This method is called by a ControlledContainer when some object gets stored in the container.
up() - Method in class org.apache.java.recycle.DefaultController
 
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 interface org.apache.jserv.JServDefs
Defines the current version of the package.
version() - Static method in class org.apache.jserv.JServ
 

W

waitObject() - Method in class org.apache.java.util.SimpleQueue
Wait until the object appears in the queue, then return it.
WorkerPool - class org.apache.java.recycle.pool.WorkerPool.
This class is the public frontend for the thread pool code.
WorkerPool(int) - Constructor for class org.apache.java.recycle.pool.WorkerPool
 
WorkerPool(int, String) - Constructor for class org.apache.java.recycle.pool.WorkerPool
 
write(LogRecord) - Method in class org.apache.java.io.LogWriter.Agent
Write the log record on the log stream.
writeLock() - Method in class org.apache.java.lang.Lock
Wait for a read lock.
writeLock(long) - Method in class org.apache.java.lang.Lock
Wait for a read lock.
writeUnlock() - Method in class org.apache.java.lang.Lock
Unlock a previously acquired write lock.

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