|
|||||||||
| Home >> All >> org >> apache >> catalina >> [ util overview ] | PREV NEXT | ||||||||
A
- APPLICATION - Static variable in class org.apache.catalina.util.ManifestResource
- add(Object) - Method in class org.apache.catalina.util.ResourceSet
- Add the specified element to this set if it is not already present.
- addCharsetMappingFromDeploymentDescriptor(String, String) - Method in class org.apache.catalina.util.CharsetMapper
- The deployment descriptor can have a locale-encoding-mapping-list element which describes the webapp's desired mapping from locale to charset.
- addFolderList(String) - Static method in class org.apache.catalina.util.ExtensionValidator
- Add the JARs specified to the extension list.
- addInstanceListener(InstanceListener) - Method in class org.apache.catalina.util.InstanceSupport
- Add a lifecycle event listener to this component.
- addLifecycleListener(LifecycleListener) - Method in class org.apache.catalina.util.LifecycleSupport
- Add a lifecycle event listener to this component.
- addSafeCharacter(char) - Method in class org.apache.catalina.util.URLEncoder
- addSystemResource(File) - Static method in class org.apache.catalina.util.ExtensionValidator
- Checks to see if the given system JAR file contains a MANIFEST, and adds it to the container's manifest resources.
- advance() - Method in class org.apache.catalina.util.StringParser
- Advance the current parsing position by one, if we are not already past the end of the string.
- asctimeFormat - Static variable in class org.apache.catalina.util.DateTool
- asctimePattern - Static variable in class org.apache.catalina.util.DateTool
- authority - Variable in class org.apache.catalina.util.URL
- The authority part of the URL.
- availableExtensions - Variable in class org.apache.catalina.util.ManifestResource
B
- BASELENGTH - Static variable in class org.apache.catalina.util.Base64
- Base64 - class org.apache.catalina.util.Base64.
- This class provides encode/decode for RFC 2045 Base64 as defined by RFC 2045, N.
- Base64() - Constructor for class org.apache.catalina.util.Base64
- base64Alphabet - Static variable in class org.apache.catalina.util.Base64
- blanksToString(String, String) - Method in class org.apache.catalina.util.ProcessEnvironment
- Converts blank strings to another string
- buffer - Variable in class org.apache.catalina.util.XMLWriter
- Buffer.
- buildAvailableExtensionsMap(ArrayList) - Static method in class org.apache.catalina.util.ExtensionValidator
- bundle - Variable in class org.apache.catalina.util.StringManager
- The ResourceBundle for this StringManager.
C
- CGIProcessEnvironment - class org.apache.catalina.util.CGIProcessEnvironment.
- Encapsulates the CGI Process' environment and rules to derive that environment from the servlet container and request information.
- CGIProcessEnvironment(HttpServletRequest, ServletContext) - Constructor for class org.apache.catalina.util.CGIProcessEnvironment
- Creates a ProcessEnvironment and derives the necessary environment, working directory, command, etc.
- CGIProcessEnvironment(HttpServletRequest, ServletContext, String) - Constructor for class org.apache.catalina.util.CGIProcessEnvironment
- Creates a ProcessEnvironment and derives the necessary environment, working directory, command, etc.
- CGIProcessEnvironment(HttpServletRequest, ServletContext, int) - Constructor for class org.apache.catalina.util.CGIProcessEnvironment
- Creates a ProcessEnvironment and derives the necessary environment, working directory, command, etc.
- CGIProcessEnvironment(HttpServletRequest, ServletContext, String, int) - Constructor for class org.apache.catalina.util.CGIProcessEnvironment
- Creates a ProcessEnvironment and derives the necessary environment, working directory, command, etc.
- CLOSING - Static variable in class org.apache.catalina.util.XMLWriter
- Closing tag.
- CharsetMapper - class org.apache.catalina.util.CharsetMapper.
- Utility class that attempts to map from a Locale to the corresponding character set to be used for interpreting input text (or generating output text) when the Content-Type header does not include one.
- CharsetMapper() - Constructor for class org.apache.catalina.util.CharsetMapper
- Construct a new CharsetMapper using the default properties resource.
- CharsetMapper(String) - Constructor for class org.apache.catalina.util.CharsetMapper
- Construct a new CharsetMapper using the specified properties resource.
- CookieTools - class org.apache.catalina.util.CookieTools.
- Cookie utils - generate cookie header, etc
- CookieTools() - Constructor for class org.apache.catalina.util.CookieTools
- CookieToolsTestCase - class org.apache.catalina.util.CookieToolsTestCase.
- Unit tests for the
CookieToolsclass. - CookieToolsTestCase(String) - Constructor for class org.apache.catalina.util.CookieToolsTestCase
- Construct a new instance of this test case.
- CustomObjectInputStream - class org.apache.catalina.util.CustomObjectInputStream.
- Custom subclass of
ObjectInputStreamthat loads from the class loader for this web application. - CustomObjectInputStream(InputStream, ClassLoader) - Constructor for class org.apache.catalina.util.CustomObjectInputStream
- Construct a new instance of CustomObjectInputStream
- canonical - Variable in class org.apache.catalina.util.DOMWriter
- Canonical output.
- cgiPathPrefix - Variable in class org.apache.catalina.util.CGIProcessEnvironment
- The CGI search path will start at webAppRootDir + File.separator + cgiPathPrefix (or webAppRootDir alone if cgiPathPrefix is null)
- chars - Variable in class org.apache.catalina.util.StringParser
- The characters of the current string, as a character array.
- classLoader - Variable in class org.apache.catalina.util.CustomObjectInputStream
- The class loader we will use to resolve classes.
- clear() - Method in class org.apache.catalina.util.ParameterMap
- Remove all mappings from this map.
- clear() - Method in class org.apache.catalina.util.ResourceSet
- Remove all of the elements from this set.
- command - Variable in class org.apache.catalina.util.ProcessEnvironment
- command to be invoked
- command - Variable in class org.apache.catalina.util.ProcessHelper
- script/command to be executed
- compare(String, String) - Method in class org.apache.catalina.util.URL
- Compare to String values for equality, taking appropriate care if one
or both of the values are
null. - containerAvailableExtensions - Static variable in class org.apache.catalina.util.ExtensionValidator
- containerManifestResources - Static variable in class org.apache.catalina.util.ExtensionValidator
- containsExtension(String) - Method in class org.apache.catalina.util.ManifestResource
- Convienience method to check if this
ManifestResourcehas an extension available. - context - Variable in class org.apache.catalina.util.ProcessEnvironment
- context of the enclosing servlet
- contextPath - Variable in class org.apache.catalina.util.ProcessEnvironment
- context path of enclosing servlet
- convert(String) - Static method in class org.apache.catalina.util.HexUtils
- Convert a String of hexadecimal digits into the corresponding byte array by encoding each two hexadecimal digits as a byte.
- convert(byte[]) - Static method in class org.apache.catalina.util.HexUtils
- Convert a byte array into a printable format containing a String of hexadecimal digit characters (two per byte).
- convert(String) - Static method in class org.apache.catalina.util.MIME2Java
- Convert a MIME charset name, also known as an XML encoding name, to a Java encoding name.
- convert2Int(byte[]) - Static method in class org.apache.catalina.util.HexUtils
- Convert 4 hex digits to an int, and return the number of converted bytes.
- convertDateFormat(String) - Method in class org.apache.catalina.util.Strftime
- Search the provided pattern and get the C standard Date/Time formatting rules and convert them to the Java equivalent.
- convertDigit(int) - Static method in class org.apache.catalina.util.HexUtils
- [Private] Convert the specified value (0 ..
- convertHexDigit(byte) - Static method in class org.apache.catalina.util.RequestUtil
- Convert a byte character value to hexidecimal digit value.
D
- DEC - Static variable in class org.apache.catalina.util.HexUtils
- DEFAULT_BUFFER_SIZE - Static variable in class org.apache.catalina.util.IOTools
- DEFAULT_RESOURCE - Static variable in class org.apache.catalina.util.CharsetMapper
- Default properties resource name.
- DOMWriter - class org.apache.catalina.util.DOMWriter.
- A sample DOM writer.
- DOMWriter(String, boolean) - Constructor for class org.apache.catalina.util.DOMWriter
- DOMWriter(boolean) - Constructor for class org.apache.catalina.util.DOMWriter
- Default constructor.
- DOMWriter(Writer, boolean) - Constructor for class org.apache.catalina.util.DOMWriter
- DateTool - class org.apache.catalina.util.DateTool.
- Common place for date utils.
- DateTool() - Constructor for class org.apache.catalina.util.DateTool
- debug - Variable in class org.apache.catalina.util.ProcessEnvironment
- the debugging detail level for this instance.
- debug - Variable in class org.apache.catalina.util.ProcessHelper
- the debugging detail level for this instance.
- decode(ByteChunk, CharChunk) - Static method in class org.apache.catalina.util.Base64
- Decodes Base64 data into octects
- deriveProcessEnvironment(HttpServletRequest) - Method in class org.apache.catalina.util.CGIProcessEnvironment
- Constructs the CGI environment to be supplied to the invoked CGI script; relies heavliy on Servlet API methods and findCGI
- deriveProcessEnvironment(HttpServletRequest) - Method in class org.apache.catalina.util.ProcessEnvironment
- Constructs the Process environment to be supplied to the invoked process.
- df - Variable in class org.apache.catalina.util.FastDateFormat
- digester - Variable in class org.apache.catalina.util.SchemaResolver
- The disgester instance for which this class is the entity resolver.
E
- EIGHTBIT - Static variable in class org.apache.catalina.util.Base64
- Enumerator - class org.apache.catalina.util.Enumerator.
- Adapter class that wraps an
Enumerationaround a Java2 collection classes objectIteratorso that existing APIs returning Enumerations can easily run on top of the new collections. - Enumerator(Collection) - Constructor for class org.apache.catalina.util.Enumerator
- Return an Enumeration over the values of the specified Collection.
- Enumerator(Collection, boolean) - Constructor for class org.apache.catalina.util.Enumerator
- Return an Enumeration over the values of the specified Collection.
- Enumerator(Iterator) - Constructor for class org.apache.catalina.util.Enumerator
- Return an Enumeration over the values returned by the specified Iterator.
- Enumerator(Iterator, boolean) - Constructor for class org.apache.catalina.util.Enumerator
- Return an Enumeration over the values returned by the specified Iterator.
- Enumerator(Map) - Constructor for class org.apache.catalina.util.Enumerator
- Return an Enumeration over the values of the specified Map.
- Enumerator(Map, boolean) - Constructor for class org.apache.catalina.util.Enumerator
- Return an Enumeration over the values of the specified Map.
- Extension - class org.apache.catalina.util.Extension.
- Utility class that represents either an available "Optional Package" (formerly known as "Standard Extension") as described in the manifest of a JAR file, or the requirement for such an optional package.
- Extension() - Constructor for class org.apache.catalina.util.Extension
- ExtensionValidator - class org.apache.catalina.util.ExtensionValidator.
- Ensures that all extension dependies are resolved for a WEB application are met.
- ExtensionValidator() - Constructor for class org.apache.catalina.util.ExtensionValidator
- encode(byte[]) - Static method in class org.apache.catalina.util.Base64
- Encodes hex octects into Base64.
- encode(byte[]) - Method in class org.apache.catalina.util.MD5Encoder
- Encodes the 128 bit (16 bytes) MD5 into a 32 character String.
- encode(String) - Method in class org.apache.catalina.util.URLEncoder
- encodeCookie(Cookie) - Static method in class org.apache.catalina.util.RequestUtil
- Encode a cookie as per RFC 2109.
- entityValidator - Variable in class org.apache.catalina.util.SchemaResolver
- The URLs of dtds and schemas that have been registered, keyed by the public identifier that corresponds.
- env - Variable in class org.apache.catalina.util.ProcessEnvironment
- derived process environment
- env - Variable in class org.apache.catalina.util.ProcessHelper
- environment used when invoking the cgi script
- equals(Object) - Method in class org.apache.catalina.util.URL
- Compare two URLs for equality.
- extensionName - Variable in class org.apache.catalina.util.Extension
- The name of the optional package being made available, or required.
- extract(int) - Method in class org.apache.catalina.util.StringParser
- Extract and return a substring that starts at the specified position, and extends to the end of the string being parsed.
- extract(int, int) - Method in class org.apache.catalina.util.StringParser
- Extract and return a substring that starts at the specified position, and ends at the character before the specified position.
F
- FOURBYTE - Static variable in class org.apache.catalina.util.Base64
- FastDateFormat - class org.apache.catalina.util.FastDateFormat.
- Fast date formatter that caches recently formatted date information and uses it to avoid too-frequent calls to the underlying formatter.
- FastDateFormat(DateFormat) - Constructor for class org.apache.catalina.util.FastDateFormat
- file - Variable in class org.apache.catalina.util.URL
- The filename part of the URL.
- filter(String) - Static method in class org.apache.catalina.util.RequestUtil
- Filter the specified message string for characters that are sensitive in HTML.
- findCGI(String, String, String, String, String) - Method in class org.apache.catalina.util.CGIProcessEnvironment
- Resolves core information about the cgi script.
- findChar(char) - Method in class org.apache.catalina.util.StringParser
- Return the index of the next occurrence of the specified character, or the index of the character after the last position of the string if no more occurrences of this character are found.
- findLifecycleListeners() - Method in class org.apache.catalina.util.LifecycleSupport
- Get the lifecycle listeners associated with this lifecycle.
- findText() - Method in class org.apache.catalina.util.StringParser
- Return the index of the next occurrence of a non-whitespace character, or the index of the character after the last position of the string if no more non-whitespace characters are found.
- findWhite() - Method in class org.apache.catalina.util.StringParser
- Return the index of the next occurrence of a whitespace character, or the index of the character after the last position of the string if no more whitespace characters are found.
- fireInstanceEvent(String, Filter) - Method in class org.apache.catalina.util.InstanceSupport
- Notify all lifecycle event listeners that a particular event has occurred for this Container.
- fireInstanceEvent(String, Filter, Throwable) - Method in class org.apache.catalina.util.InstanceSupport
- Notify all lifecycle event listeners that a particular event has occurred for this Container.
- fireInstanceEvent(String, Filter, ServletRequest, ServletResponse) - Method in class org.apache.catalina.util.InstanceSupport
- Notify all lifecycle event listeners that a particular event has occurred for this Container.
- fireInstanceEvent(String, Filter, ServletRequest, ServletResponse, Throwable) - Method in class org.apache.catalina.util.InstanceSupport
- Notify all lifecycle event listeners that a particular event has occurred for this Container.
- fireInstanceEvent(String, Servlet) - Method in class org.apache.catalina.util.InstanceSupport
- Notify all lifecycle event listeners that a particular event has occurred for this Container.
- fireInstanceEvent(String, Servlet, Throwable) - Method in class org.apache.catalina.util.InstanceSupport
- Notify all lifecycle event listeners that a particular event has occurred for this Container.
- fireInstanceEvent(String, Servlet, ServletRequest, ServletResponse) - Method in class org.apache.catalina.util.InstanceSupport
- Notify all lifecycle event listeners that a particular event has occurred for this Container.
- fireInstanceEvent(String, Servlet, ServletRequest, ServletResponse, Throwable) - Method in class org.apache.catalina.util.InstanceSupport
- Notify all lifecycle event listeners that a particular event has occurred for this Container.
- fireLifecycleEvent(String, Object) - Method in class org.apache.catalina.util.LifecycleSupport
- Notify all lifecycle event listeners that a particular event has occurred for this Container.
- flow(Reader, Writer, char[]) - Static method in class org.apache.catalina.util.IOTools
- Read input from reader and write it to writer until there is no more input from reader.
- flow(Reader, Writer) - Static method in class org.apache.catalina.util.IOTools
- flow(InputStream, OutputStream, byte[]) - Static method in class org.apache.catalina.util.IOTools
- Read input from input stream and write it to output stream until there is no more input from input stream.
- flow(InputStream, OutputStream) - Static method in class org.apache.catalina.util.IOTools
- format(Date, StringBuffer, FieldPosition) - Method in class org.apache.catalina.util.FastDateFormat
- Note: breaks functionality of fieldPosition param.
- format - Static variable in class org.apache.catalina.util.RequestUtil
- The DateFormat to use for generating readable dates in cookies.
- format(Date) - Method in class org.apache.catalina.util.Strftime
- Format the date according to the strftime-style string given in the constructor.
- fp - Variable in class org.apache.catalina.util.FastDateFormat
- fulfilled - Variable in class org.apache.catalina.util.Extension
- fulfilled is true if all the required extension dependencies have been satisfied
G
- GMT_ZONE - Static variable in class org.apache.catalina.util.DateTool
- GMT timezone - all HTTP dates are on GMT
- get() - Method in class org.apache.catalina.util.Queue
- Get the first object out of the queue.
- getAuthority() - Method in class org.apache.catalina.util.URL
- Return the authority part of the URL.
- getAvailableExtensionCount() - Method in class org.apache.catalina.util.ManifestResource
- Gets the number of available extensions
- getAvailableExtensions() - Method in class org.apache.catalina.util.ManifestResource
- Gets the map of available extensions
- getAvailableExtensions(Manifest) - Method in class org.apache.catalina.util.ManifestResource
- Return the set of
Extensionobjects representing optional packages that are bundled with the application associated with the specifiedManifest. - getCharset(Locale) - Method in class org.apache.catalina.util.CharsetMapper
- Calculate the name of a character set to be assumed, given the specified Locale and the absence of a character set specified as part of the content type header.
- getCommand() - Method in class org.apache.catalina.util.ProcessEnvironment
- Gets derived command string
- getContext() - Method in class org.apache.catalina.util.ProcessEnvironment
- getContextPath() - Method in class org.apache.catalina.util.ProcessEnvironment
- getCookieHeaderName(Cookie) - Static method in class org.apache.catalina.util.CookieTools
- Return the header name to set the cookie, based on cookie version
- getCookieHeaderValue(Cookie) - Static method in class org.apache.catalina.util.CookieTools
- Deprecated. Use StringBuffer version
- getCookieHeaderValue(Cookie, StringBuffer) - Static method in class org.apache.catalina.util.CookieTools
- Return the header value used to set this cookie
- getEnvironment() - Method in class org.apache.catalina.util.ProcessEnvironment
- Gets process' environment
- getExtensionName() - Method in class org.apache.catalina.util.Extension
- getFile() - Method in class org.apache.catalina.util.URL
- Return the filename part of the URL.
- getHost() - Method in class org.apache.catalina.util.URL
- Return the host name part of the URL.
- getIClientInputTimeout() - Method in class org.apache.catalina.util.ProcessHelper
- getImplementationURL() - Method in class org.apache.catalina.util.Extension
- getImplementationVendor() - Method in class org.apache.catalina.util.Extension
- getImplementationVendorId() - Method in class org.apache.catalina.util.Extension
- getImplementationVersion() - Method in class org.apache.catalina.util.Extension
- getIndex() - Method in class org.apache.catalina.util.StringParser
- Return the zero-relative index of our current parsing position within the string being parsed.
- getLength() - Method in class org.apache.catalina.util.StringParser
- Return the length of the string we are parsing.
- getManager(String) - Static method in class org.apache.catalina.util.StringManager
- Get the StringManager for a particular package.
- getManifest(InputStream) - Static method in class org.apache.catalina.util.ExtensionValidator
- Return the Manifest from a jar file or war file
- getParameters() - Method in class org.apache.catalina.util.CGIProcessEnvironment
- Gets process' derived query parameters
- getPath() - Method in class org.apache.catalina.util.URL
- Return the path part of the URL.
- getPort() - Method in class org.apache.catalina.util.URL
- Return the port number part of the URL.
- getPostInput(Hashtable) - Method in class org.apache.catalina.util.ProcessHelper
- Gets a string for input to a POST cgi script
- getProtocol() - Method in class org.apache.catalina.util.URL
- Return the protocol name part of the URL.
- getQualifiedNames() - Method in class org.apache.catalina.util.DOMWriter
- getQuery() - Method in class org.apache.catalina.util.URL
- Return the query part of the URL.
- getRef() - Method in class org.apache.catalina.util.URL
- Return the reference part of the URL.
- getRequiredExtensionCount() - Method in class org.apache.catalina.util.ManifestResource
- Gets the number of required extensions
- getRequiredExtensions() - Method in class org.apache.catalina.util.ManifestResource
- Gets the list of required extensions
- getRequiredExtensions(Manifest) - Method in class org.apache.catalina.util.ManifestResource
- Return the set of
Extensionobjects representing optional packages that are required by the application associated with the specifiedManifest. - getResourceName() - Method in class org.apache.catalina.util.ManifestResource
- Gets the name of the resource
- getServerBuilt() - Static method in class org.apache.catalina.util.ServerInfo
- Return the server built time for this version of Tomcat.
- getServerInfo() - Static method in class org.apache.catalina.util.ServerInfo
- Return the server identification for this version of Tomcat.
- getServerNumber() - Static method in class org.apache.catalina.util.ServerInfo
- Return the server's version number.
- getServletPath() - Method in class org.apache.catalina.util.ProcessEnvironment
- getSpecificationVendor() - Method in class org.apache.catalina.util.Extension
- getSpecificationVersion() - Method in class org.apache.catalina.util.Extension
- getString(String) - Method in class org.apache.catalina.util.StringManager
- Get a string from the underlying resource bundle.
- getString(String, Object[]) - Method in class org.apache.catalina.util.StringManager
- Get a string from the underlying resource bundle and format it with the given set of arguments.
- getString(String, Object) - Method in class org.apache.catalina.util.StringManager
- Get a string from the underlying resource bundle and format it with the given object argument.
- getString(String, Object, Object) - Method in class org.apache.catalina.util.StringManager
- Get a string from the underlying resource bundle and format it with the given object arguments.
- getString(String, Object, Object, Object) - Method in class org.apache.catalina.util.StringManager
- Get a string from the underlying resource bundle and format it with the given object arguments.
- getString(String, Object, Object, Object, Object) - Method in class org.apache.catalina.util.StringManager
- Get a string from the underlying resource bundle and format it with the given object arguments.
- getString() - Method in class org.apache.catalina.util.StringParser
- Return the String we are currently parsing.
- getStringInternal(String) - Method in class org.apache.catalina.util.StringManager
- getTimeZone() - Method in class org.apache.catalina.util.Strftime
- Get the timezone used for formatting conversions
- getUniqueId() - Method in class org.apache.catalina.util.Extension
- UniqueId created by combining the extension name and implementation version.
- getUserInfo() - Method in class org.apache.catalina.util.URL
- Return the user info part of the URL.
- getWebAppRootDir() - Method in class org.apache.catalina.util.ProcessEnvironment
- Gets the root directory of the web application to which this process\ belongs
- getWorkingDirectory() - Method in class org.apache.catalina.util.ProcessEnvironment
- Gets this process' derived working directory
- getWrapper() - Method in class org.apache.catalina.util.InstanceSupport
- Return the Wrapper with which we are associated.
- getWriterEncoding() - Static method in class org.apache.catalina.util.DOMWriter
H
- HTTP_RESPONSE_DATE_HEADER - Static variable in class org.apache.catalina.util.DateTool
- Format for http response header date field
- HexUtils - class org.apache.catalina.util.HexUtils.
- Library of utility methods useful in dealing with converting byte arrays to and from strings of hexadecimal digits.
- HexUtils() - Constructor for class org.apache.catalina.util.HexUtils
- hasMoreElements() - Method in class org.apache.catalina.util.Enumerator
- Tests if this enumeration contains more elements.
- hashToStringArray(Hashtable) - Method in class org.apache.catalina.util.ProcessHelper
- Converts a Hashtable to a String array by converting each key/value pair in the Hashtable to a String in the form "key=value" (hashkey + "=" + hash.get(hashkey).toString())
- hexadecimal - Static variable in class org.apache.catalina.util.MD5Encoder
- hexadecimal - Static variable in class org.apache.catalina.util.URLEncoder
- host - Variable in class org.apache.catalina.util.URL
- The host name part of the URL.
I
- IOTools - class org.apache.catalina.util.IOTools.
- Contains commonly needed I/O-related methods
- IOTools() - Constructor for class org.apache.catalina.util.IOTools
- InstanceSupport - class org.apache.catalina.util.InstanceSupport.
- Support class to assist in firing InstanceEvent notifications to registered InstanceListeners.
- InstanceSupport(Wrapper) - Constructor for class org.apache.catalina.util.InstanceSupport
- Construct a new InstanceSupport object associated with the specified Instance component.
- iClientInputTimeout - Variable in class org.apache.catalina.util.ProcessHelper
- the time in ms to wait for the client to send us CGI input data
- implementationURL - Variable in class org.apache.catalina.util.Extension
- The URL from which the most recent version of this optional package can be obtained if it is not already installed.
- implementationVendor - Variable in class org.apache.catalina.util.Extension
- The name of the company or organization that produced this implementation of this optional package.
- implementationVendorId - Variable in class org.apache.catalina.util.Extension
- The unique identifier of the company that produced the optional package contained in this JAR file.
- implementationVersion - Variable in class org.apache.catalina.util.Extension
- The version number (dotted decimal notation) for this implementation of the optional package.
- index - Variable in class org.apache.catalina.util.StringParser
- The zero-relative index of the current point at which we are positioned within the string being parsed.
- isArrayByteBase64(byte[]) - Static method in class org.apache.catalina.util.Base64
- isBase64(String) - Static method in class org.apache.catalina.util.Base64
- isBase64(byte) - Static method in class org.apache.catalina.util.Base64
- isCompatibleWith(Extension) - Method in class org.apache.catalina.util.Extension
- Return
trueif the specifiedExtension(which represents an optional package required by this application) is satisfied by thisExtension(which represents an optional package that is already installed. - isEmpty() - Method in class org.apache.catalina.util.Queue
- Is the queue empty?
- isFulfilled() - Method in class org.apache.catalina.util.Extension
- isFulfilled() - Method in class org.apache.catalina.util.ManifestResource
- Returns
trueif all required extension dependencies have been meet for thisManifestResourceobject. - isLocked() - Method in class org.apache.catalina.util.ParameterMap
- Return the locked state of this parameter map.
- isLocked() - Method in class org.apache.catalina.util.ResourceSet
- Return the locked state of this parameter map.
- isNewer(String, String) - Method in class org.apache.catalina.util.Extension
- Return
trueif the first version number is greater than or equal to the second; otherwise returnfalse. - isReady() - Method in class org.apache.catalina.util.ProcessHelper
- Gets ready status
- isToken(String) - Static method in class org.apache.catalina.util.CookieTools
- isValid() - Method in class org.apache.catalina.util.ProcessEnvironment
- Gets validity status
- isValidJavaEncoding(String) - Static method in class org.apache.catalina.util.DOMWriter
- isWhite(char) - Method in class org.apache.catalina.util.StringParser
- Is the specified character considered to be whitespace?
- iterator - Variable in class org.apache.catalina.util.Enumerator
- The
Iteratorover which theEnumerationrepresented by this class actually operates.
L
- LOCALE_US - Static variable in class org.apache.catalina.util.DateTool
- US locale - all HTTP dates are in english
- LOOKUPLENGTH - Static variable in class org.apache.catalina.util.Base64
- LifecycleSupport - class org.apache.catalina.util.LifecycleSupport.
- Support class to assist in firing LifecycleEvent notifications to registered LifecycleListeners.
- LifecycleSupport(Lifecycle) - Constructor for class org.apache.catalina.util.LifecycleSupport
- Construct a new LifecycleSupport object associated with the specified Lifecycle component.
- lastSec - Variable in class org.apache.catalina.util.FastDateFormat
- length - Variable in class org.apache.catalina.util.StringParser
- The length of the String we are currently parsing.
- lifecycle - Variable in class org.apache.catalina.util.LifecycleSupport
- The source component for lifecycle events that we will fire.
- listeners - Variable in class org.apache.catalina.util.InstanceSupport
- The set of registered InstanceListeners for event notifications.
- listeners - Variable in class org.apache.catalina.util.LifecycleSupport
- The set of registered LifecycleListeners for event notifications.
- locked - Variable in class org.apache.catalina.util.ParameterMap
- The current lock state of this parameter map.
- locked - Variable in class org.apache.catalina.util.ResourceSet
- The current lock state of this parameter map.
- log - Static variable in class org.apache.catalina.util.CGIProcessEnvironment
- log - Static variable in class org.apache.catalina.util.ExtensionValidator
- log - Static variable in class org.apache.catalina.util.ProcessEnvironment
- log - Static variable in class org.apache.catalina.util.ProcessHelper
- log - Static variable in class org.apache.catalina.util.StringManager
- lookUpBase64Alphabet - Static variable in class org.apache.catalina.util.Base64
M
- MD5Encoder - class org.apache.catalina.util.MD5Encoder.
- Encode an MD5 digest into a String.
- MD5Encoder() - Constructor for class org.apache.catalina.util.MD5Encoder
- MIME2JAVA_ENCODINGS - Static variable in class org.apache.catalina.util.DOMWriter
- MIME2Java - class org.apache.catalina.util.MIME2Java.
- MIME2Java is a convenience class which handles conversions between MIME charset names and Java encoding names.
- MIME2Java() - Constructor for class org.apache.catalina.util.MIME2Java
- ManifestResource - class org.apache.catalina.util.ManifestResource.
- Representation of a Manifest file and its available extensions and required extensions
- ManifestResource(String, Manifest, int) - Constructor for class org.apache.catalina.util.ManifestResource
- main(String[]) - Static method in class org.apache.catalina.util.CookieToolsTestCase
- main(String[]) - Static method in class org.apache.catalina.util.FastDateFormat
- main(String[]) - Static method in class org.apache.catalina.util.ServerInfo
- managers - Static variable in class org.apache.catalina.util.StringManager
- map - Variable in class org.apache.catalina.util.CharsetMapper
- The mapping properties that have been initialized from the specified or default properties resource.
- maybeQuote(int, StringBuffer, String) - Static method in class org.apache.catalina.util.CookieTools
- messages - Static variable in class org.apache.catalina.util.ExtensionValidator
N
- NO_CONTENT - Static variable in class org.apache.catalina.util.XMLWriter
- Element with no content.
- negative(String) - Method in class org.apache.catalina.util.URLTestCase
- Check that both our URL class and
java.net.URLthrowMalformedURLExceptionon an absolute URL specification. - negative(String, String) - Method in class org.apache.catalina.util.URLTestCase
- Check that both our URL class and
java.net.URLthrowMalformedURLExceptionon an absolute URL specification plus the corresponding relative URL specification. - nextElement() - Method in class org.apache.catalina.util.Enumerator
- Returns the next element of this enumeration if this enumeration has at least one more element to provide.
- normalize(String) - Method in class org.apache.catalina.util.DOMWriter
- Normalizes the given string.
- normalize(String) - Static method in class org.apache.catalina.util.RequestUtil
- Normalize a relative URI path that may have relative values ("/./", "/../", and so on ) it it.
- normalize() - Method in class org.apache.catalina.util.URL
- Normalize the
path(and thereforefile) portions of this URL. - normalize(String) - Method in class org.apache.catalina.util.URLTestCase
- Attempts to normalize the specified URL should throw MalformedURLException.
- normalize(String, String) - Method in class org.apache.catalina.util.URLTestCase
- It should be possible to normalize the specified URL into the specified normalized form.
- nullsToBlanks(String) - Method in class org.apache.catalina.util.ProcessEnvironment
- Converts null strings to blank strings ("")
- nullsToString(String, String) - Method in class org.apache.catalina.util.ProcessEnvironment
- Converts null strings to another string
O
- OLD_COOKIE_PATTERN - Static variable in class org.apache.catalina.util.DateTool
- Pattern used for old cookies
- OPENING - Static variable in class org.apache.catalina.util.XMLWriter
- Opening tag.
- oldCookieFormat - Static variable in class org.apache.catalina.util.DateTool
- DateFormat to be used to format old netscape cookies
- org.apache.catalina.util - package org.apache.catalina.util
- out - Variable in class org.apache.catalina.util.DOMWriter
- Print writer.
P
- PAD - Static variable in class org.apache.catalina.util.Base64
- PRINTWRITER_ENCODING - Static variable in class org.apache.catalina.util.DOMWriter
- Default Encoding
- ParameterMap - class org.apache.catalina.util.ParameterMap.
- Extended implementation of HashMap that includes a
lockedproperty. - ParameterMap() - Constructor for class org.apache.catalina.util.ParameterMap
- Construct a new, empty map with the default initial capacity and load factor.
- ParameterMap(int) - Constructor for class org.apache.catalina.util.ParameterMap
- Construct a new, empty map with the specified initial capacity and default load factor.
- ParameterMap(int, float) - Constructor for class org.apache.catalina.util.ParameterMap
- Construct a new, empty map with the specified initial capacity and load factor.
- ParameterMap(Map) - Constructor for class org.apache.catalina.util.ParameterMap
- Construct a new map with the same mappings as the given map.
- ProcessEnvironment - class org.apache.catalina.util.ProcessEnvironment.
- Encapsulates the Process environment and rules to derive that environment from the servlet container and request information.
- ProcessEnvironment(HttpServletRequest, ServletContext) - Constructor for class org.apache.catalina.util.ProcessEnvironment
- Creates a ProcessEnvironment and derives the necessary environment, working directory, command, etc.
- ProcessEnvironment(HttpServletRequest, ServletContext, int) - Constructor for class org.apache.catalina.util.ProcessEnvironment
- Creates a ProcessEnvironment and derives the necessary environment, working directory, command, etc.
- ProcessHelper - class org.apache.catalina.util.ProcessHelper.
- Encapsulates the knowledge of how to run a CGI script, given the script's desired environment and (optionally) input/output streams
- ProcessHelper(String, Hashtable, File, Hashtable) - Constructor for class org.apache.catalina.util.ProcessHelper
- Creates a ProcessHelper and initializes its environment, working directory, and query parameters.
- params - Variable in class org.apache.catalina.util.ProcessHelper
- query parameters to be passed to the invoked script
- parse(String, ParsePosition) - Method in class org.apache.catalina.util.FastDateFormat
- parse(String, int, int) - Method in class org.apache.catalina.util.URL
- Parse the specified portion of the string representation of a URL,
assuming that it has a format similar to that for
http. - parseCharacterEncoding(String) - Static method in class org.apache.catalina.util.RequestUtil
- Parse the character encoding from the specified content type header.
- parseCookieHeader(String) - Static method in class org.apache.catalina.util.RequestUtil
- Parse a cookie header into an array of cookies according to RFC 2109.
- parseParameters(Map, String, String) - Static method in class org.apache.catalina.util.RequestUtil
- Append request parameters from the specified String to the specified Map.
- parseParameters(Map, byte[], String) - Static method in class org.apache.catalina.util.RequestUtil
- Append request parameters from the specified String to the specified Map.
- path - Variable in class org.apache.catalina.util.URL
- The path part of the URL.
- pathInfo - Variable in class org.apache.catalina.util.ProcessEnvironment
- pathInfo for the current request
- peek() - Method in class org.apache.catalina.util.Queue
- Peek to see if something is available.
- port - Variable in class org.apache.catalina.util.URL
- The port number part of the URL.
- positive(String) - Method in class org.apache.catalina.util.URLTestCase
- Check the details of our URL class against
java.net.URLfor an absolute URL specification. - positive(String, String) - Method in class org.apache.catalina.util.URLTestCase
- Check the details of our URL class against
java.net.URLfor a relative URL specification. - print(Node) - Method in class org.apache.catalina.util.DOMWriter
- Prints the specified node, recursively.
- printValidJavaEncoding() - Static method in class org.apache.catalina.util.DOMWriter
- processManifest(Manifest) - Method in class org.apache.catalina.util.ManifestResource
- protocol - Variable in class org.apache.catalina.util.URL
- The protocol name part of the URL.
- publicId - Variable in class org.apache.catalina.util.SchemaResolver
- The public identifier of the DTD we are currently parsing under (if any).
- pull() - Method in class org.apache.catalina.util.Queue
- Pull the first object out of the queue.
- put(Object, Object) - Method in class org.apache.catalina.util.ParameterMap
- Associate the specified value with the specified key in this map.
- put(Object) - Method in class org.apache.catalina.util.Queue
- Put the object into the queue.
- putAll(Map) - Method in class org.apache.catalina.util.ParameterMap
- Copy all of the mappings from the specified map to this one.
- putMapEntry(Map, String, String) - Static method in class org.apache.catalina.util.RequestUtil
- Put name and value pair in map.
Q
- Queue - class org.apache.catalina.util.Queue.
- A simple FIFO queue class which causes the calling thread to wait if the queue is empty and notifies threads that are waiting when it is not empty.
- Queue() - Constructor for class org.apache.catalina.util.Queue
- qualifiedNames - Variable in class org.apache.catalina.util.DOMWriter
- Output qualified names
- query - Variable in class org.apache.catalina.util.URL
- The query part of the URL.
- queryParameters - Variable in class org.apache.catalina.util.CGIProcessEnvironment
- cgi command's query parameters
- quote(String, boolean) - Method in class org.apache.catalina.util.Strftime
R
- RFC1123_PATTERN - Static variable in class org.apache.catalina.util.DateTool
- format for RFC 1123 date string -- "Sun, 06 Nov 1994 08:49:37 GMT"
- RequestUtil - class org.apache.catalina.util.RequestUtil.
- General purpose request parsing and encoding utility methods.
- RequestUtil() - Constructor for class org.apache.catalina.util.RequestUtil
- ResourceSet - class org.apache.catalina.util.ResourceSet.
- Extended implementation of HashSet that includes a
lockedproperty. - ResourceSet() - Constructor for class org.apache.catalina.util.ResourceSet
- Construct a new, empty set with the default initial capacity and load factor.
- ResourceSet(int) - Constructor for class org.apache.catalina.util.ResourceSet
- Construct a new, empty set with the specified initial capacity and default load factor.
- ResourceSet(int, float) - Constructor for class org.apache.catalina.util.ResourceSet
- Construct a new, empty set with the specified initial capacity and load factor.
- ResourceSet(Collection) - Constructor for class org.apache.catalina.util.ResourceSet
- Construct a new set with the same contents as the existing collection.
- readyToRun - Variable in class org.apache.catalina.util.ProcessHelper
- boolean tracking whether this object has enough info to run()
- ref - Variable in class org.apache.catalina.util.URL
- The reference part of the URL.
- register(String, String) - Method in class org.apache.catalina.util.SchemaResolver
- Register the specified DTD/Schema URL for the specified public identifier.
- remove(Object) - Method in class org.apache.catalina.util.ParameterMap
- Remove the mapping for this key from the map if present.
- remove(Object) - Method in class org.apache.catalina.util.ResourceSet
- Remove the given element from this set if it is present.
- removeInstanceListener(InstanceListener) - Method in class org.apache.catalina.util.InstanceSupport
- Remove a lifecycle event listener from this component.
- removeLifecycleListener(LifecycleListener) - Method in class org.apache.catalina.util.LifecycleSupport
- Remove a lifecycle event listener from this component.
- requiredExtensions - Variable in class org.apache.catalina.util.ManifestResource
- requiresExtensions() - Method in class org.apache.catalina.util.ManifestResource
- Convienience method to check if this
ManifestResourcehas an requires extensions. - reset() - Method in class org.apache.catalina.util.StringParser
- Reset the current state of the parser to the beginning of the current string being parsed.
- resolveClass(ObjectStreamClass) - Method in class org.apache.catalina.util.CustomObjectInputStream
- Load the local class equivalent of the specified stream class description, by using the class loader assigned to this Context.
- resolveEntity(String, String) - Method in class org.apache.catalina.util.SchemaResolver
- Resolve the requested external entity.
- resolveProxyClass(String[]) - Method in class org.apache.catalina.util.CustomObjectInputStream
- Return a proxy class that implements the interfaces named in a proxy class descriptor.
- resourceName - Variable in class org.apache.catalina.util.ManifestResource
- resourceType - Variable in class org.apache.catalina.util.ManifestResource
- response - Variable in class org.apache.catalina.util.ProcessHelper
- response object used to set headers & get output stream
- reverse(String) - Static method in class org.apache.catalina.util.MIME2Java
- Convert a Java encoding name to MIME charset name.
- rfc1036Format - Static variable in class org.apache.catalina.util.DateTool
- rfc1036Pattern - Static variable in class org.apache.catalina.util.DateTool
- rfc1123Format - Static variable in class org.apache.catalina.util.DateTool
- DateFormat to be used to format dates
- run() - Method in class org.apache.catalina.util.ProcessHelper
- Executes a process script with the desired environment, current working directory, and input/output streams
S
- SIGN - Static variable in class org.apache.catalina.util.Base64
- SIXBIT - Static variable in class org.apache.catalina.util.Base64
- SIXTEENBIT - Static variable in class org.apache.catalina.util.Base64
- SYSTEM - Static variable in class org.apache.catalina.util.ManifestResource
- SchemaResolver - class org.apache.catalina.util.SchemaResolver.
- This class implements a local SAX's
EntityResolver. - SchemaResolver(Digester) - Constructor for class org.apache.catalina.util.SchemaResolver
- Create a new
EntityResolverthat will redirect all remote dtds and schema to a locat destination. - ServerInfo - class org.apache.catalina.util.ServerInfo.
- Simple utility module to make it easy to plug in the server identifier when integrating Tomcat.
- ServerInfo() - Constructor for class org.apache.catalina.util.ServerInfo
- Strftime - class org.apache.catalina.util.Strftime.
- Converts dates to strings using the same format specifiers as strftime Note: This does not mimic strftime perfectly.
- Strftime(String) - Constructor for class org.apache.catalina.util.Strftime
- Create an instance of this date formatting class
- Strftime(String, Locale) - Constructor for class org.apache.catalina.util.Strftime
- Create an instance of this date formatting class
- StringManager - class org.apache.catalina.util.StringManager.
- An internationalization / localization helper class which reduces the bother of handling ResourceBundles and takes care of the common cases of message formating which otherwise require the creation of Object arrays and such.
- StringManager(String) - Constructor for class org.apache.catalina.util.StringManager
- Creates a new StringManager for a given package.
- StringParser - class org.apache.catalina.util.StringParser.
- Utility class for string parsing that is higher performance than StringParser for simple delimited text cases.
- StringParser() - Constructor for class org.apache.catalina.util.StringParser
- Construct a string parser with no preset string to be parsed.
- StringParser(String) - Constructor for class org.apache.catalina.util.StringParser
- Construct a string parser that is initialized to parse the specified string.
- s_enchash - Static variable in class org.apache.catalina.util.MIME2Java
- s_revhash - Static variable in class org.apache.catalina.util.MIME2Java
- safeCharacters - Variable in class org.apache.catalina.util.URLEncoder
- sameFile(URL) - Method in class org.apache.catalina.util.URL
- Compare two URLs, excluding the "ref" fields.
- sb - Variable in class org.apache.catalina.util.FastDateFormat
- schemaExtension - Variable in class org.apache.catalina.util.SchemaResolver
- Extension to make the difference between DTD and Schema.
- sendData() - Method in class org.apache.catalina.util.XMLWriter
- Send data and reinitializes buffer.
- serverBuilt - Static variable in class org.apache.catalina.util.ServerInfo
- The server built String.
- serverInfo - Static variable in class org.apache.catalina.util.ServerInfo
- The server information String with which we identify ourselves.