A B C D E F G H I L O R S T U W

A

attributeAdded(ServletContextAttributeEvent) - Method in class listeners.ContextListener
Record the fact that a servlet context attribute was added.
attributeAdded(HttpSessionBindingEvent) - Method in class listeners.SessionListener
Record the fact that a servlet context attribute was added.
attributeRemoved(ServletContextAttributeEvent) - Method in class listeners.ContextListener
Record the fact that a servlet context attribute was removed.
attributeRemoved(HttpSessionBindingEvent) - Method in class listeners.SessionListener
Record the fact that a servlet context attribute was removed.
attributeReplaced(ServletContextAttributeEvent) - Method in class listeners.ContextListener
Record the fact that a servlet context attribute was replaced.
attributeReplaced(HttpSessionBindingEvent) - Method in class listeners.SessionListener
Record the fact that a servlet context attribute was replaced.

B

buffer - Variable in class compressionFilters.CompressionResponseStream
The buffer through which all of our output bytes are passed.
bufferCount - Variable in class compressionFilters.CompressionResponseStream
The number of data bytes currently in the buffer.

C

close() - Method in class compressionFilters.CompressionResponseStream
Close this output stream, causing any buffered data to be flushed and any further output data to throw an IOException.
closed - Variable in class compressionFilters.CompressionResponseStream
Has this stream been closed?
closed() - Method in class compressionFilters.CompressionResponseStream
Has this response stream been closed?
CompressionFilter - Class in compressionFilters
Implementation of javax.servlet.Filter used to compress the ServletResponse if it is bigger than a threshold.
CompressionFilter() - Constructor for class compressionFilters.CompressionFilter
 
compressionFilters - package compressionFilters
 
CompressionFilterTestServlet - Class in compressionFilters
Very Simple test servlet to test compression filter
CompressionFilterTestServlet() - Constructor for class compressionFilters.CompressionFilterTestServlet
 
CompressionResponseStream - Class in compressionFilters
Implementation of ServletOutputStream that works with the CompressionServletResponseWrapper implementation.
CompressionResponseStream(HttpServletResponse) - Constructor for class compressionFilters.CompressionResponseStream
Construct a servlet output stream associated with the specified Response.
CompressionServletResponseWrapper - Class in compressionFilters
Implementation of HttpServletResponseWrapper that works with the CompressionServletResponseStream implementation..
CompressionServletResponseWrapper(HttpServletResponse) - Constructor for class compressionFilters.CompressionServletResponseWrapper
Calls the parent constructor which creates a ServletResponse adaptor wrapping the given response object.
compressionThreshold - Variable in class compressionFilters.CompressionFilter
The threshold number to compress
compressionThreshold - Variable in class compressionFilters.CompressionResponseStream
The threshold number which decides to compress or not.
contentType - Variable in class compressionFilters.CompressionServletResponseWrapper
Content type
contextDestroyed(ServletContextEvent) - Method in class listeners.ContextListener
Record the fact that this web application has been destroyed.
contextDestroyed(ServletContextEvent) - Method in class listeners.SessionListener
Record the fact that this web application has been destroyed.
contextInitialized(ServletContextEvent) - Method in class listeners.ContextListener
Record the fact that this web application has been initialized.
contextInitialized(ServletContextEvent) - Method in class listeners.SessionListener
Record the fact that this web application has been initialized.
ContextListener - Class in listeners
Example listener for context-related application events, which were introduced in the 2.3 version of the Servlet API.
ContextListener() - Constructor for class listeners.ContextListener
 
CookieExample - Class in <Unnamed>
Example servlet showing request headers
CookieExample() - Constructor for class CookieExample
 
createOutputStream() - Method in class compressionFilters.CompressionServletResponseWrapper
Create and return a ServletOutputStream to write the content associated with this Response.

D

destroy() - Method in class compressionFilters.CompressionFilter
Take this filter out of service.
destroy() - Method in class filters.ExampleFilter
Take this filter out of service.
destroy() - Method in class filters.RequestDumperFilter
Take this filter out of service.
destroy() - Method in class filters.SetCharacterEncodingFilter
Take this filter out of service.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class compressionFilters.CompressionFilter
The doFilter method of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class filters.ExampleFilter
Time the processing that is performed by all subsequent filters in the current filter stack, including the ultimately invoked servlet.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class filters.RequestDumperFilter
Time the processing that is performed by all subsequent filters in the current filter stack, including the ultimately invoked servlet.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class filters.SetCharacterEncodingFilter
Select and set (if specified) the character encoding to be used to interpret request parameters for this request.
doGet(HttpServletRequest, HttpServletResponse) - Method in class compressionFilters.CompressionFilterTestServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class CookieExample
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class HelloWorldExample
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class RequestHeaderExample
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class RequestInfoExample
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class RequestParamExample
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class SessionExample
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class CookieExample
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class RequestHeaderExample
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class RequestInfoExample
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class RequestParamExample
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class SessionExample
 

E

encoding - Variable in class filters.SetCharacterEncodingFilter
The default character encoding to set for requests that pass through this filter.
ExampleFilter - Class in filters
Example filter that can be attached to either an individual servlet or to a URL pattern.
ExampleFilter() - Constructor for class filters.ExampleFilter
 

F

filter(String) - Static method in class util.HTMLFilter
Filter the specified message string for characters that are sensitive in HTML.
filterConfig - Variable in class filters.SetCharacterEncodingFilter
The filter configuration object we are associated with.
filters - package filters
 
finishResponse() - Method in class compressionFilters.CompressionServletResponseWrapper
Finish a response.
flush() - Method in class compressionFilters.CompressionResponseStream
Flush any buffered data for this output stream, which also causes the response to be committed.
flushBuffer() - Method in class compressionFilters.CompressionServletResponseWrapper
Flush the buffer and commit this response.
flushToGZip() - Method in class compressionFilters.CompressionResponseStream
 

G

getFilterConfig() - Method in class compressionFilters.CompressionFilter
Return filter config Required by Weblogic 6.1
getOutputStream() - Method in class compressionFilters.CompressionServletResponseWrapper
Return the servlet output stream associated with this Response.
getWriter() - Method in class compressionFilters.CompressionServletResponseWrapper
Return the writer associated with this Response.
gzipstream - Variable in class compressionFilters.CompressionResponseStream
The underlying gzip output stream to which we should write data.

H

HelloWorldExample - Class in <Unnamed>
The simplest possible servlet.
HelloWorldExample() - Constructor for class HelloWorldExample
 
HTMLFilter - Class in util
HTML filter utility.
HTMLFilter() - Constructor for class util.HTMLFilter
 

I

ignore - Variable in class filters.SetCharacterEncodingFilter
Should a character encoding specified by the client be ignored?
info - Static variable in class compressionFilters.CompressionServletResponseWrapper
Descriptive information about this Response implementation.
init(FilterConfig) - Method in class compressionFilters.CompressionFilter
Place this filter into service.
init(FilterConfig) - Method in class filters.ExampleFilter
Place this filter into service.
init(FilterConfig) - Method in class filters.RequestDumperFilter
Place this filter into service.
init(FilterConfig) - Method in class filters.SetCharacterEncodingFilter
Place this filter into service.

L

length - Variable in class compressionFilters.CompressionResponseStream
The content length past which we will not write, or -1 if there is no defined content length.
listeners - package listeners
 

O

origResponse - Variable in class compressionFilters.CompressionServletResponseWrapper
Original response
output - Variable in class compressionFilters.CompressionResponseStream
The underlying servket output stream to which we should write data.

R

RequestDumperFilter - Class in filters
Example filter that dumps interesting state information about a request to the associated servlet context log file, before allowing the servlet to process the request in the usual way.
RequestDumperFilter() - Constructor for class filters.RequestDumperFilter
 
RequestHeaderExample - Class in <Unnamed>
Example servlet showing request headers
RequestHeaderExample() - Constructor for class RequestHeaderExample
 
RequestInfoExample - Class in <Unnamed>
Example servlet showing request information.
RequestInfoExample() - Constructor for class RequestInfoExample
 
RequestParamExample - Class in <Unnamed>
Example servlet showing request headers
RequestParamExample() - Constructor for class RequestParamExample
 
response - Variable in class compressionFilters.CompressionResponseStream
The response with which this servlet output stream is associated.

S

selectEncoding(ServletRequest) - Method in class filters.SetCharacterEncodingFilter
Select an appropriate character encoding to be used, based on the characteristics of the current request and/or filter initialization parameters.
sessionCreated(HttpSessionEvent) - Method in class listeners.SessionListener
Record the fact that a session has been created.
sessionDestroyed(HttpSessionEvent) - Method in class listeners.SessionListener
Record the fact that a session has been destroyed.
SessionExample - Class in <Unnamed>
Example servlet showing request headers
SessionExample() - Constructor for class SessionExample
 
SessionListener - Class in listeners
Example listener for context-related application events, which were introduced in the 2.3 version of the Servlet API.
SessionListener() - Constructor for class listeners.SessionListener
 
setBuffer(int) - Method in class compressionFilters.CompressionResponseStream
Set the compressionThreshold number and create buffer for this size
SetCharacterEncodingFilter - Class in filters
Example filter that sets the character encoding to be used in parsing the incoming request, either unconditionally or only if the client did not specify a character encoding.
SetCharacterEncodingFilter() - Constructor for class filters.SetCharacterEncodingFilter
 
setCompressionThreshold(int) - Method in class compressionFilters.CompressionServletResponseWrapper
Set threshold number
setContentLength(int) - Method in class compressionFilters.CompressionServletResponseWrapper
 
setContentType(String) - Method in class compressionFilters.CompressionServletResponseWrapper
Set content type
setDebugLevel(int) - Method in class compressionFilters.CompressionResponseStream
Set debug level
setDebugLevel(int) - Method in class compressionFilters.CompressionServletResponseWrapper
Set debug level
setFilterConfig(FilterConfig) - Method in class compressionFilters.CompressionFilter
Set filter config This function is equivalent to init.
stream - Variable in class compressionFilters.CompressionServletResponseWrapper
The ServletOutputStream that has been returned by getOutputStream(), if any.

T

threshold - Variable in class compressionFilters.CompressionServletResponseWrapper
The threshold number to compress
toString() - Method in class filters.ExampleFilter
Return a String representation of this object.
toString() - Method in class filters.RequestDumperFilter
Return a String representation of this object.

U

util - package util
 

W

write(int) - Method in class compressionFilters.CompressionResponseStream
Write the specified byte to our output stream.
write(byte[]) - Method in class compressionFilters.CompressionResponseStream
Write b.length bytes from the specified byte array to our output stream.
write(byte[], int, int) - Method in class compressionFilters.CompressionResponseStream
Write len bytes from the specified byte array, starting at the specified offset, to our output stream.
writer - Variable in class compressionFilters.CompressionServletResponseWrapper
The PrintWriter that has been returned by getWriter(), if any.
writeToGZip(byte[], int, int) - Method in class compressionFilters.CompressionResponseStream
 

A B C D E F G H I L O R S T U W

Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.