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

<

() - Static method in class org.apache.jserv.JServUtils
 

A

accept() - Method in class org.apache.java.net.AuthenticatedServerSocket
Blocks until a connection is made to the port.
accept(File, String) - Method in class org.apache.java.io.SimpleFileFilter
filenamefilter interface method
access() - Method in class org.apache.jserv.JServSession
Tells the session that it has been accessed
active - Variable in class org.apache.jserv.JServLog
 
active - Variable in class org.apache.java.io.LogWriter
Tells if this log is active
activeReadLocks - Variable in class org.apache.java.lang.Lock
 
activeWriteLocks - Variable in class org.apache.java.lang.Lock
 
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.ClassCacheEntry - class org.apache.java.lang.AdaptiveClassLoader.ClassCacheEntry.
Private class used to maintain information about the classes that we loaded.
AdaptiveClassLoader.ClassCacheEntry() - Constructor for class org.apache.java.lang.AdaptiveClassLoader.ClassCacheEntry
 
AdaptiveClassLoader(Vector) - Constructor for class org.apache.java.lang.AdaptiveClassLoader
Creates a new class loader that will load classes from specified class repositories.
AdaptiveClassLoader(Vector, ClassLoader) - 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
 
addContext(JServSendError) - Method in class org.apache.jserv.JServSTMStore
Add a new created context.
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
 
aliasName - Variable in class org.apache.jserv.JServContext
 
alive - Variable in class org.apache.java.recycle.pool.Worker
 
allContexts - Variable in class org.apache.jserv.JServSTMStore
We need a copy of all the contexts, busy or free.
allowed - Variable in class org.apache.java.lang.Semaphore
 
allowReadLock() - Method in class org.apache.java.lang.Lock
 
allowWriteLock() - Method in class org.apache.java.lang.Lock
 
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(InetAddress, int) - Constructor for class org.apache.java.net.AuthenticatedSocket
 
AuthenticatedSocket(InetAddress, int, MessageDigest, byte[]) - Constructor for class org.apache.java.net.AuthenticatedSocket
 
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

BIAS - Static variable in class org.apache.java.recycle.GaussianController
This is the minimum value allowed to be reached.
BIAS - Static variable in class org.apache.java.recycle.MinMaxController
This is the minimum value allowed to be reached.
bindTo(String) - Static method in class org.apache.jserv.JServ
returns the InetAddress this JServ is binding to read from properties file.
buffer - Variable in class org.apache.java.security.MD5
 
byte2int(byte[], int[]) - Static method in class org.apache.java.security.MD5
Converts a 64-byte array into a 16-int array.
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

cache - Variable in class org.apache.java.lang.AdaptiveClassLoader
Cache of the loaded classes.
called_getInput - Variable in class org.apache.jserv.JServConnection
 
called_getOutput - Variable in class org.apache.jserv.JServConnection
 
capacity - Variable in class org.apache.java.recycle.LimitedContainer
 
capacity - Variable in class org.apache.java.recycle.pool.WorkerContainer
 
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.
challengeSize - Variable in class org.apache.java.net.AuthenticatedServerSocket
 
channel - Variable in class org.apache.java.io.LogRecord
Log channel.
checkClasses - Variable in class org.apache.jserv.JServServletManager
Determines whether to check the classes for changes.
checkFile - Variable in class org.apache.jserv.JServServletManager
Determines wheter to check the property file for changes.
checkReload(JServSendError) - Method in class org.apache.jserv.JServServletManager
Reinstantiate the classloader if necessary.
checkState() - Method in class org.apache.jserv.JServSession
Throws an IllegalStateException when the session is no longer valid.
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.
clean() - Method in class org.apache.java.recycle.pool.Worker
Cleans this worker by setting its Work code to null.
clear() - Method in class org.apache.jserv.JServSTMStore
Return all the contexts stored here and clear the content of the pool.
clear() - Static method in class org.apache.jserv.JServ
Clears JServ and prepare it for restart of termination
client - Variable in class org.apache.jserv.JServConnection
 
close() - Method in class org.apache.jserv.JServConnection.JServInputStream
 
close() - Method in class org.apache.jserv.JServConnection.JServOutputStream
 
colors - Static variable in class org.apache.jserv.JServ
 
combine(Hashtable) - Method in class org.apache.java.util.ConfigurationsRepository
Combines an existing Hashtable with this Hashtable Warning: It will overwrite previous entries without warning
confFile - 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 - Static variable in class org.apache.jserv.JServ
 
confs - Variable in class org.apache.jserv.JServServletManager
The configurations containing information for these servlets.
container - Variable in class org.apache.java.recycle.ControlledContainer
 
container - Variable in class org.apache.java.recycle.Container
 
container - Variable in class org.apache.java.recycle.LimitedContainer
 
container - Variable in class org.apache.java.recycle.pool.WorkerContainer
 
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
 
context - Variable in class org.apache.jserv.JServSession
The session context
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 - Variable in 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
 
cookieDate - Static variable in class org.apache.jserv.JServUtils
 
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.
counter - Variable in class org.apache.java.security.MD5
 
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
cursor - Variable in class org.apache.java.recycle.GaussianController
The cursor in the circular array.
cursor - Variable in class org.apache.java.recycle.MinMaxController
The pointer in the circular array.

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
 
defaults - Variable in class org.apache.java.util.Configurations
Default configurations repository.
destroy() - Method in interface org.apache.java.recycle.Recyclable
This method is called to kill this object when not needed.
destroy() - Method in class org.apache.java.recycle.pool.Worker
Set the alive variable to false causing the worker to die.
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.
destroyTimeout - Variable in class org.apache.jserv.JServServletManager
The amount of time to wait before giving up on lock when destroying servlet.
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.
digests - Static variable in class org.apache.java.security.MD5
 
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 class org.apache.java.recycle.DefaultController
 
down() - Method in interface org.apache.java.recycle.Controller
This method is called by a ControlledContainer when some object is removed from the container.

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.
ENCODING - Static variable in interface org.apache.jserv.JServDefs
Encoding: "ISO-8859-1"
entry() - Method in class org.apache.java.lang.Semaphore
 
env_vars - Variable in class org.apache.jserv.JServConnection
 
errorMessage - Variable in class org.apache.jserv.JServLog
 
execute(Stoppable) - Method in class org.apache.java.recycle.pool.WorkerPool
 
execute(Stoppable) - Method in class org.apache.java.recycle.pool.Worker
Set the Work code this Worker must execute and notifies its thread to do it.
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.PropertiesReader - class org.apache.java.util.ExtendedProperties.PropertiesReader.
This class is used to read properties lines.
ExtendedProperties.PropertiesReader(ExtendedProperties, Reader) - Constructor for class org.apache.java.util.ExtendedProperties.PropertiesReader
 
ExtendedProperties.PropertiesTokenizer - class org.apache.java.util.ExtendedProperties.PropertiesTokenizer.
This class divides into tokens a property value.
ExtendedProperties.PropertiesTokenizer(ExtendedProperties, String) - Constructor for class org.apache.java.util.ExtendedProperties.PropertiesTokenizer
 
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.
extensions - Variable in class org.apache.java.io.SimpleFileFilter
 

F

F(int, int, int) - Static method in class org.apache.java.security.MD5
 
FACTOR - Static variable in class org.apache.java.recycle.GaussianController
This is multiplication factor for the standard deviation.
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.
FF(int, int, int, int, int, int, int) - Static method in class org.apache.java.security.MD5
 
file - Variable in class org.apache.java.util.ConfigurationsRepository
The file connected to this repository (holding comments and such)
fileOrFiles(File) - Static method in class org.apache.java.io.SimpleFileFilter
this method checks to see if an asterisk is imbedded in the filename, if it is, it does an "ls" or "dir" of the parent directory returning a list of files that match eg.
filterList - Variable in class org.apache.java.net.AuthenticatedServerSocket
 
findStatusString(int) - Static method in class org.apache.jserv.JServConnection
Finds a status string from one of the standard status code.
flush() - Method in class org.apache.jserv.JServLog
Flush the log.
flush() - Method in class org.apache.jserv.JServConnection.JServOutputStream
 
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.
flush() - Method in interface org.apache.java.io.Logger
Flush the log.
formatter - Variable in class org.apache.java.io.LogWriter
The timestamp formatter.
freeContexts - Variable in class org.apache.jserv.JServSTMStore
The array of free contexts.

G

G(int, int, int) - Static method in class org.apache.java.security.MD5
 
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
 
generation - Variable in class org.apache.java.lang.AdaptiveClassLoader
Generation number of the classloader, used to distinguish between different instances.
generationCounter - Static variable in class org.apache.java.lang.AdaptiveClassLoader
Generation counter, incremented for each classloader as they are created.
get() - Method in class org.apache.java.util.SimpleQueue
Get the object waiting in the queue.
getAttribute(String) - Method in class org.apache.jserv.JServContext
Returns the value of the named attribute of the network service, or null if the attribute does not exist.
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.
getAverage(int[]) - Method in class org.apache.java.recycle.GaussianController
Calculates the average value of a given array.
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.
getContext(JServSendError) - Method in class org.apache.jserv.JServSTMStore
Get a free context (servlet) from the pool.
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.
getIdentifier() - Static method in class org.apache.jserv.JServServletManager
 
getIdentifier(String) - Method in class org.apache.jserv.JServServletManager
 
getIds() - Method in class org.apache.jserv.JServServletManager
Returns an enumeration of all of the session IDs in this context.
getInclude() - Method in class org.apache.java.util.ExtendedProperties
Gets the property value for including other properties files By default it is "include"
getInitParameter(String) - Method in class org.apache.jserv.JServContext
Returns a string containing the value of the named initialization parameter of the servlet, or null if the parameter does not exist.
getInitParameterNames() - Method in class org.apache.jserv.JServContext
Returns the names of the servlet's initialization parameters as an enumeration of strings, or an empty enumeration if there are no initialization parameters.
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.
getKeys(String) - Method in class org.apache.java.util.Configurations
Get the list of the keys contained in the configuration repository that match the specified prefix.
getLastAccessedTime() - Method in class org.apache.jserv.JServSession
Returns the last time the client sent a request carrying the identifier assigned to the session.
getLevel(int[]) - Method in class org.apache.java.recycle.MinMaxController
Returns the predicted correct level calculating the max variable amplitude in levels statistics.
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.
getMimeType(String) - Method in class org.apache.jserv.JServContext
Returns the mime type of the specified file, or null if not known.
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.JServContext
Applies alias rules to the specified virtual path and returns the corresponding real path.
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.ControlledContainer
 
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.LimitedContainer
 
getRecyclable() - Method in class org.apache.java.recycle.pool.WorkerContainer
 
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".
getServerInfo() - Method in class org.apache.jserv.JServContext
Returns the name and version of the network service under which the servlet is running.
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.
getServlet() - Method in class org.apache.jserv.JServContext
 
getServlet(String) - Method in class org.apache.jserv.JServContext
Returns the servlet of the specified name, or null if not found.
getServletContext() - Method in class org.apache.jserv.JServContext
Returns the context for the servlet.
getServletNames() - Method in class org.apache.jserv.JServContext
Returns an enumeration of the Servlet object names in this server.
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.
getServlets() - Method in class org.apache.jserv.JServSTMStore
Return the servlets stored in this pool.
getServlets() - Method in class org.apache.jserv.JServContext
Deprecated. Please use getServletNames in conjunction with getServlet
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.ControlledContainer
 
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.LimitedContainer
 
getSize() - Method in class org.apache.java.recycle.pool.WorkerContainer
 
getStandardDeviation(int[]) - Method in class org.apache.java.recycle.GaussianController
Calculates the RMS value of a given array.
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.
getSubsystemError() - Method in class org.apache.jserv.JServLog
returns the last Error occured in this subsystem
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.
GG(int, int, int, int, int, int, int) - Static method in class org.apache.java.security.MD5
 
got_input - Variable in class org.apache.jserv.JServConnection
 
group - Variable in class org.apache.java.recycle.pool.WorkerContainer
 

H

H(int, int, int) - Static method in class org.apache.java.security.MD5
 
handleStatus(ServletOutputStream, String) - Method in class org.apache.jserv.JServ
 
handleZones(ServletOutputStream, String) - Method in class org.apache.jserv.JServ
 
hasMoreTokens() - Method in class org.apache.java.util.ExtendedProperties.PropertiesTokenizer
 
headers_in - Variable in class org.apache.jserv.JServConnection
 
headers_out - Variable in class org.apache.jserv.JServConnection
 
hexDigits - Static variable in class org.apache.java.lang.Bytes
 
HH(int, int, int, int, int, int, int) - Static method in class org.apache.java.security.MD5
 
hostname - Variable in class org.apache.jserv.JServConnection
 

I

I(int, int, int) - Static method in class org.apache.java.security.MD5
 
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
 
identifier - Variable in class org.apache.java.io.LogWriter
This string identifies this log writer and its used to discriminate between configuration parameters.
II(int, int, int, int, int, int, int) - Static method in class org.apache.java.security.MD5
 
in - Variable in class org.apache.jserv.JServConnection
 
in - Variable in class org.apache.jserv.JServConnection.JServInputStream
 
in - Variable in class org.apache.jserv.JServConnection.JServOutputStream
 
include - Static variable in class org.apache.java.util.ExtendedProperties
this is the name of the property that can point to other properties file for including other properties files
incrementCapacity - Variable in class org.apache.jserv.JServSTMStore
The increment capacity parameter.
indexAll - Variable in class org.apache.jserv.JServSTMStore
The index in the allContexts array.
indexFree - Variable in class org.apache.jserv.JServSTMStore
The index used in the array of free contexts.
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.
initargs - Variable in class org.apache.jserv.JServContext
 
initialCapacity - Variable in class org.apache.jserv.JServSTMStore
The initial capacity of this store
initTimeout - Variable in class org.apache.jserv.JServServletManager
The amount of time to wait before giving up on lock when initializing a servlet.
int2byte(int[], byte[]) - Static method in class org.apache.java.security.MD5
Converts a 4-int array into a 16-byte array.
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 class org.apache.jserv.JServLog
Tells if it is active.
isActive() - Method in class org.apache.java.io.LogWriter
Tells if it is active.
isActive() - Method in interface org.apache.java.io.Logger
Tells if it is active.
isActive(String) - Method in class org.apache.jserv.JServLog
Tells if the given channel is active.
isActive(String) - Method in class org.apache.java.io.LogWriter
Tells if the given channel is active.
isActive(String) - Method in interface org.apache.java.io.Logger
Tells if the given channel is active.
isAuthenticated(Socket) - Method in class org.apache.java.net.AuthenticatedServerSocket
Used internally to authenticate a newly connected socket
isEmpty() - Method in class org.apache.java.util.SimpleQueue
Find out if the queue is empty.
isNew - Variable in class org.apache.jserv.JServSession
Is this session new
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.
isSane() - Method in class org.apache.jserv.JServLog
returns true if this subsystem is sane
isSystemClass() - Method in class org.apache.java.lang.AdaptiveClassLoader.ClassCacheEntry
Check whether this class was loaded from the system.
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 class org.apache.java.recycle.DefaultController
 
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.
isValid() - Method in class org.apache.jserv.JServSession
Has the session been invalidated.
isZipOrJarArchive(File) - Method in class org.apache.java.lang.AdaptiveClassLoader
Test if a file is a ZIP or JAR archive.

J

JServ - class org.apache.jserv.JServ.
JServ is the entry point to the Java part of JServ It sets up the server, initalizes everything, and listens on a TCP port for requests for the server.
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, int, InputStream) - Constructor for class org.apache.jserv.JServConnection.JServInputStream
 
JServConnection.JServOutputStream - class org.apache.jserv.JServConnection.JServOutputStream.
ServletOutputStream implementation as inner class
JServConnection.JServOutputStream(JServConnection, OutputStream, InputStream) - Constructor for class org.apache.jserv.JServConnection.JServOutputStream
 
JServConnection() - Constructor for class org.apache.jserv.JServConnection
 
JServContext - class org.apache.jserv.JServContext.
This class implements the parts of the servlet that are longer-lived than a single request, ServletConfig and ServletContext.
JServContext(Servlet, JServServletManager, Properties, String) - Constructor for class org.apache.jserv.JServContext
 
JServDefs - interface org.apache.jserv.JServDefs.
This interface is a placeholder for some of the constants used throughout the ApacheJServ project.
JServLog - class org.apache.jserv.JServLog.
This class is used to trace and report errors and execution.
JServLog(String, Configurations) - Constructor for class org.apache.jserv.JServLog
Construct this class
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.
JServSendError - interface org.apache.jserv.JServSendError.
The JServSendError interface is implemented by classes that know how to return an error to the web server.
JServServletManager - class org.apache.jserv.JServServletManager.
Class that encapsulates the loading and managing of servlets per servlet zone.
JServServletManager.ACLObjectInputStream - class org.apache.jserv.JServServletManager.ACLObjectInputStream.
When deserializing the sessions during a class loader reload, override the resolveClass() method so that it uses the AdaptiveClassLoader to deserialize the sessions.
JServServletManager.ACLObjectInputStream(JServServletManager, InputStream) - Constructor for class org.apache.jserv.JServServletManager.ACLObjectInputStream
 
JServServletManager(String, String) - Constructor for class org.apache.jserv.JServServletManager
Creates a new servlet manager.
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.
JServSTMStore - class org.apache.jserv.JServSTMStore.
This class is used to store a set of JServContexts for servlets which implement the javax.servlet.SingleThreadModel interface.
JServSTMStore(Configurations, JServServletManager, String, JServSendError, JServContext) - Constructor for class org.apache.jserv.JServSTMStore
Constructs a store fill it with contexts.
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.
lastModified - Variable in class org.apache.java.lang.AdaptiveClassLoader.ClassCacheEntry
The time at which the class was loaded from the origin file, in ms since the epoch.
lastModified(String) - Method in class org.apache.java.lang.AdaptiveClassLoader
Return the last modified time for a class in the ClassCache.
lastTimeVal - Static variable in class org.apache.jserv.JServServletManager
 
length - Variable in class org.apache.jserv.JServConnection.JServInputStream
 
level - Variable in class org.apache.java.recycle.GaussianController
The current pool level.
level - Variable in class org.apache.java.recycle.AdaptiveController
 
level - Variable in class org.apache.java.recycle.MinMaxController
The current level.
level - Variable in class org.apache.java.recycle.pool.WorkerContainer
 
levels - Variable in class org.apache.java.recycle.GaussianController
The array of pool levels.
levels - Variable in class org.apache.java.recycle.MinMaxController
The array of levels.
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
 
listenSocket - Static variable in class org.apache.jserv.JServ
 
load_init(String, JServSendError) - Method in class org.apache.jserv.JServServletManager
 
load(InputStream) - Method in class org.apache.java.util.ConfigurationsRepository
A method to load the properties into a ConfigurationsRepository
load(InputStream) - Method in class org.apache.java.util.ExtendedProperties
Load the properties from the given input stream.
loadBytesFromStream(InputStream, int) - Method in class org.apache.java.lang.AdaptiveClassLoader
Loads all the bytes of an InputStream.
loadClass(String, boolean) - Method in class org.apache.java.lang.AdaptiveClassLoader
Resolves the specified name to a Class.
loadClassFromDirectory(File, String, AdaptiveClassLoader.ClassCacheEntry) - Method in class org.apache.java.lang.AdaptiveClassLoader
Tries to load the class from a directory.
loadClassFromZipfile(File, String, AdaptiveClassLoader.ClassCacheEntry) - Method in class org.apache.java.lang.AdaptiveClassLoader
Tries to load the class from a zip file.
loadedClass - Variable in class org.apache.java.lang.AdaptiveClassLoader.ClassCacheEntry
The actual loaded class
loader - Variable in class org.apache.jserv.JServServletManager
The class loader used for loading new servlets
loadResourceFromDirectory(File, String) - Method in class org.apache.java.lang.AdaptiveClassLoader
Loads resource from a directory.
loadResourceFromZipfile(File, String) - Method in class org.apache.java.lang.AdaptiveClassLoader
Loads resource from a zip file
loadServlet(String, JServSendError) - Method in class org.apache.jserv.JServServletManager
Loads and initialize a servlet.
loadStartupServlets(JServSendError) - Method in class org.apache.jserv.JServServletManager
Loads and initialize all the startup servlets.
loadSystemClass(String, boolean) - Method in class org.apache.java.lang.AdaptiveClassLoader
Load a class using the system classloader.
lock - Variable in class org.apache.jserv.JServContext
 
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(Exception, String) - Method in class org.apache.jserv.JServContext
Write the stacktrace and the given message string to the servlet log file.
log(String) - Method in class org.apache.jserv.JServContext
Writes the given message string to the servlet log file.
log(String, String) - Method in class org.apache.jserv.JServLog
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, String) - Method in interface org.apache.java.io.Logger
Prints the log message on the right channel.
log(String, String, Throwable) - Method in class org.apache.jserv.JServSession
Logs an exception report to the servlet log file.
log(String, Throwable) - Method in class org.apache.jserv.JServContext
Write the given message string and the stacktrace to the servlet log file.
log(String, Throwable) - Method in class org.apache.jserv.JServLog
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(String, Throwable) - Method in interface org.apache.java.io.Logger
Prints the error message and stack trace if channel enabled.
log(Throwable) - Method in class org.apache.java.io.LogWriter
Deprecated.  
logChannel - Variable in class org.apache.java.io.LogWriter
Tells if the log message should contain a channel.
logDaemon - Variable in class org.apache.java.io.LogWriter
Background logger thread.
logger - Variable in class org.apache.jserv.JServLog
 
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.jserv.JServ
Start up JServ.
main(String[]) - Static method in class org.apache.java.security.MD5
 
maxConnections - Variable in class org.apache.java.net.AuthenticatedServerSocket
 
maximumCapacity - Variable in class org.apache.jserv.JServSTMStore
The maximum size of this pool.
maxRandomLen - Static variable in class org.apache.jserv.JServServletManager
 
maxSessionLifespanTics - Static variable in class org.apache.jserv.JServServletManager
 
md - Variable in class org.apache.java.net.AuthenticatedServerSocket
 
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.
messages - Static variable in class org.apache.java.security.MD5
Self Test
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
myParentClassLoader - Variable in class org.apache.java.lang.AdaptiveClassLoader
Save our class loader for chaining, and speed purposes.

N

name - Variable in class org.apache.jserv.JServServletManager
The name of this ServletManager.
NAME - Static variable in class org.apache.jserv.JServServletManager
 
newSessionTimeout - Variable in class org.apache.jserv.JServServletManager
The amount of time to wait before invalidating a new session that has never been "used" by the client.
nextToken() - Method in class org.apache.java.util.ExtendedProperties.PropertiesTokenizer
 

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
 
origin - Variable in class org.apache.java.lang.AdaptiveClassLoader.ClassCacheEntry
The file from which this class was loaded; or null if it was loaded from the system.
out - Variable in class org.apache.jserv.JServConnection
 
out - Variable in class org.apache.jserv.JServConnection.JServOutputStream
 

P

PACKAGE - Static variable in interface org.apache.jserv.JServDefs
Defines the name of the package.
padding - Static variable in class org.apache.java.security.MD5
MD5 Functions
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
 
pool - Variable in class org.apache.java.recycle.pool.WorkerPool
 
pool - Variable in class org.apache.java.recycle.pool.Worker
 
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

queue_maxage - Variable in class org.apache.java.io.LogWriter
Maximum age of a queued log record, in milliseconds.
queue_maxsize - Variable in class org.apache.java.io.LogWriter
Maximum size of a log queue.
QUICK_DEBUG - Static variable in class org.apache.java.recycle.pool.WorkerPool
 

R

random - Variable in class org.apache.java.net.AuthenticatedServerSocket
 
randomSource - Static variable in class org.apache.jserv.JServServletManager
 
read() - Method in class org.apache.jserv.JServConnection.JServInputStream
 
read(byte[]) - 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[], int, int) - 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.
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.
readObject(ObjectInputStream) - Method in class org.apache.jserv.JServSession
Read the instance variables for this object from the specified object input stream.
readProperty() - Method in class org.apache.java.util.ExtendedProperties.PropertiesReader
 
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.ControlledContainer
 
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.LimitedContainer
 
recycle(Recyclable) - Method in class org.apache.java.recycle.pool.WorkerContainer
 
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.
reminder - Variable in class org.apache.java.security.MD5
 
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.java.lang.AdaptiveClassLoader
The classpath which this classloader searches for class definitions.
repository - Variable in class org.apache.java.util.Configurations
Configuration repository.
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.
resolveClass(ObjectStreamClass) - Method in class org.apache.jserv.JServServletManager.ACLObjectInputStream
 
restart() - Static method in class org.apache.jserv.JServ
Restart JServ.
returnContext(JServContext) - Method in class org.apache.jserv.JServSTMStore
Return a free context to the pool after it was used.
returnSTMS(String, JServContext) - Method in class org.apache.jserv.JServServletManager
Return a context into a set of SingleThredModel servlets.
run() - Method in class org.apache.jserv.JServConnection
This methods provides and incapsulates the Servlet service.
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.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.java.recycle.pool.Worker
The main execution loop.

S

save(OutputStream, String) - Method in class org.apache.java.util.ConfigurationsRepository
Not implemented
save(OutputStream, String) - Method in class org.apache.java.util.ExtendedProperties
Save the properties to the given outputstream.
secret - Variable in class org.apache.java.net.AuthenticatedServerSocket
 
securityAllowsClass(String) - Method in class org.apache.java.lang.AdaptiveClassLoader
Checks whether a classloader is allowed to define a given class, within the security manager restrictions.
seed - Variable in class org.apache.java.net.AuthenticatedServerSocket
 
semaphore - Static variable in class org.apache.jserv.JServ
 
semaphore - Variable in class org.apache.jserv.JServConnection
 
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 interface org.apache.jserv.JServSendError
 
sendError(int, String) - Method in class org.apache.jserv.JServContext
 
sendError(int, String) - Method in class org.apache.jserv.JServLog
Report a problem encountered while initializing.
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 interface org.apache.jserv.JServSendError
 
sendError(Throwable) - Method in class org.apache.jserv.JServContext
 
sendError(Throwable) - Method in class org.apache.jserv.JServLog
Report an exception or error encountered while loading a servlet.
sendError(Throwable) - Method in class org.apache.jserv.JServConnection
JServSendError method.
sendHead(ServletOutputStream) - Method in class org.apache.jserv.JServ
 
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.
sendTail(ServletOutputStream) - Method in class org.apache.jserv.JServ
 
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.JServContext
 
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
 
servletContexts - Variable in class org.apache.jserv.JServServletManager
The cache of loaded servlets
servletManager - Variable in class org.apache.jserv.JServSTMStore
The Servlet Manager which must create in behalf of us new servlet instances when needed.
servletManagerTable - Static variable in class org.apache.jserv.JServ
 
servletmethod - Variable in class org.apache.jserv.JServConnection
 
servletMgr - Variable in class org.apache.jserv.JServContext
 
servletname - Variable in class org.apache.jserv.JServConnection
 
servletName - Variable in class org.apache.jserv.JServSTMStore
The name (or class name or ...) of the servlet stored here.
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_count - Static variable in class org.apache.jserv.JServServletManager
 
session_identifier - Variable in class org.apache.jserv.JServServletManager
A (slightly more) unique session identifier derived from SESSION_IDENTIFIER_BASE and name.
SESSION_IDENTIFIER_BASE - Static variable in class org.apache.jserv.JServServletManager
The name of the session parameter.
sessionCheckFrequency - Variable in class org.apache.jserv.JServServletManager
How frequently to check for the existence of timed-out sessions.
sessionData - Variable in class org.apache.jserv.JServSession
The session data
sessions - Variable in class org.apache.jserv.JServServletManager
The sessions in this manager.
sessionTimeout - Variable in class org.apache.jserv.JServServletManager
The amount of time to wait before invalidating an unused session.
sessionUseCookies - Variable in class org.apache.jserv.JServServletManager
This flag determines how sessions are created.
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.
setInclude(String) - Method in class org.apache.java.util.ExtendedProperties
Sets the property value for including other properties files.
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.
setSessionContext(JServServletManager) - Method in class org.apache.jserv.JServSession
Sets the context in which this session is bound.
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.
showMenu(ServletOutputStream) - Method in class org.apache.jserv.JServ
 
signal - Variable in class org.apache.jserv.JServConnection
 
signal(String) - Static method in class org.apache.jserv.JServ
Signal a running JServ.
SimpleFileFilter - class org.apache.java.io.SimpleFileFilter.
Class that implements the java.io.FilenameFilter interface.
SimpleFileFilter(String) - Constructor for class org.apache.java.io.SimpleFileFilter
 
SimpleFileFilter(String[]) - Constructor for class org.apache.java.io.SimpleFileFilter
 
SimpleQueue - class org.apache.java.util.SimpleQueue.
Implements single queue.
SimpleQueue() - Constructor for class org.apache.java.util.SimpleQueue
Default constructor.
SINGLE_COLUMN - Static variable in class org.apache.jserv.JServ
 
size() - Method in class org.apache.jserv.JServSTMStore
Return the number of total contexts stored in this poll.
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
 
start() - Static method in class org.apache.jserv.JServ
Read the host configuration property file and perform all the specified actions.
startups - Variable in class org.apache.jserv.JServServletManager
The servlets to load on startup.
state - Variable in class org.apache.java.security.MD5
 
status - Variable in class org.apache.jserv.JServConnection
 
STATUS_SERVLET - Static variable in class org.apache.jserv.JServ
 
status_string - Variable in class org.apache.jserv.JServConnection
 
stm_servlet - Variable in class org.apache.jserv.JServConnection
 
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.
stop() - Method in interface org.apache.java.lang.Stoppable
This method is called to terminate the job.
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.
table - Static variable in class org.apache.jserv.JServ
 
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.
theQueue - Variable in class org.apache.java.util.SimpleQueue
Data holder.
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.
timestamp - Variable in class org.apache.java.io.LogWriter
Tells if the log message should be started by a time stamp.
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.
top - Variable in class org.apache.java.recycle.AdaptiveController
 
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.
transform(byte[]) - Method in class org.apache.java.security.MD5
 
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 class org.apache.java.recycle.DefaultController
 
up() - Method in interface org.apache.java.recycle.Controller
This method is called by a ControlledContainer when some object gets stored in the container.
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.
usage() - Static method in class org.apache.jserv.JServ
Prints the help on usage message on standard error.

V

valid - Variable in class org.apache.jserv.JServSession
Is this session valid
VALUE - Static variable in class org.apache.jserv.JServServletManager
 
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

waitingReadLocks - Variable in class org.apache.java.lang.Lock
 
waitingWriteLocks - Variable in class org.apache.java.lang.Lock
 
waitObject() - Method in class org.apache.java.util.SimpleQueue
Wait until the object appears in the queue, then return it.
welcome() - Static method in class org.apache.jserv.JServ
Prints the welcome message on standard output.
WINDOW - Static variable in class org.apache.java.recycle.GaussianController
This is the log2 value of the sampling window.
WINDOW - Static variable in class org.apache.java.recycle.MinMaxController
This is the log2 value of the sampling window.
work - Variable in class org.apache.java.recycle.pool.Worker
 
Worker - class org.apache.java.recycle.pool.Worker.
This class extends the Thread class to add recyclable functionalities.
Worker(ThreadGroup, RecycleBin, String) - Constructor for class org.apache.java.recycle.pool.Worker
Allocates a new Worker object.
WorkerContainer - class org.apache.java.recycle.pool.WorkerContainer.
This class implements the container that is used to store the recycled threads.
WorkerContainer(RecycleBin, ThreadGroup, int) - Constructor for class org.apache.java.recycle.pool.WorkerContainer
 
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(byte[], int, int) - Method in class org.apache.jserv.JServConnection.JServOutputStream
 
write(int) - Method in class org.apache.jserv.JServConnection.JServOutputStream
 
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.
writeObject(ObjectOutputStream) - Method in class org.apache.jserv.JServSession
Write the instance variables for this object to the specified object output stream.
writer - Variable in class org.apache.java.io.LogWriter
The writer encapsulated.
writeTable(ServletOutputStream, String, Hashtable, String[]) - Method in class org.apache.jserv.JServ
 
writeUnlock() - Method in class org.apache.java.lang.Lock
Unlock a previously acquired write lock.

X

x - Variable in class org.apache.java.security.MD5
 

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