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

A

AbstractWebsocketMessage - Class in websocket.drawboard.wsmessages
Abstract base class for Websocket Messages (binary or string) that can be buffered.
AbstractWebsocketMessage() - Constructor for class websocket.drawboard.wsmessages.AbstractWebsocketMessage
 
addHeader(String, String) - Method in class compressionFilters.CompressionServletResponseWrapper
 
addSnake(Snake) - Static method in class websocket.snake.SnakeTimer
 
addTickListener(Stockticker.TickListener) - Method in class async.Stockticker
 
async - package async
 
Async0 - Class in async
 
Async0() - Constructor for class async.Async0
 
Async1 - Class in async
 
Async1() - Constructor for class async.Async1
 
Async2 - Class in async
 
Async2() - Constructor for class async.Async2
 
Async3 - Class in async
 
Async3() - Constructor for class async.Async3
 
AsyncStockServlet - Class in async
 
AsyncStockServlet() - Constructor for class async.AsyncStockServlet
 
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

begin(CometEvent, HttpServletRequest, HttpServletResponse) - Method in class chat.ChatServlet
 
BinaryWebsocketMessage - Class in websocket.drawboard.wsmessages
Represents a binary websocket message.
BinaryWebsocketMessage(ByteBuffer) - Constructor for class websocket.drawboard.wsmessages.BinaryWebsocketMessage
 
bodyOut - Variable in class examples.ExampleTagBase
 
BookBean - Class in jsp2.examples
 
BookBean(String, String, String) - Constructor for class jsp2.examples.BookBean
 
broadcast(String) - Static method in class websocket.snake.SnakeTimer
 
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

cal - package cal
 
caps(String) - Static method in class jsp2.examples.el.Functions
 
chat - package chat
 
ChatAnnotation - Class in websocket.chat
 
ChatAnnotation() - Constructor for class websocket.chat.ChatAnnotation
 
ChatServlet - Class in chat
Helper class to implement Comet functionality.
ChatServlet() - Constructor for class chat.ChatServlet
 
ChatServlet.MessageSender - Class in chat
Poller class.
ChatServlet.MessageSender() - Constructor for class chat.ChatServlet.MessageSender
 
checkbox - package checkbox
 
CheckTest - Class in checkbox
 
CheckTest() - Constructor for class checkbox.CheckTest
 
Client - Class in websocket.drawboard
Represents a client with methods to send messages asynchronously.
Client(Session) - Constructor for class websocket.drawboard.Client
 
clone() - Method in class async.Stockticker.Stock
 
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.
close() - Method in class websocket.drawboard.Client
Asynchronously closes the Websocket session.
closed - Variable in class compressionFilters.CompressionResponseStream
Has this stream been closed?
closed() - Method in class compressionFilters.CompressionResponseStream
Has this response stream been closed?
CloseWebsocketMessage - Class in websocket.drawboard.wsmessages
Represents a "close" message that closes the session.
CloseWebsocketMessage() - Constructor for class websocket.drawboard.wsmessages.CloseWebsocketMessage
 
cnt - Variable in class async.Stockticker.Stock
 
ColorGameBean - Class in colors
 
ColorGameBean() - Constructor for class colors.ColorGameBean
 
colors - package colors
 
compressionBuffer - Variable in class compressionFilters.CompressionFilter
The compression buffer size to avoid chunking.
compressionBuffer - Variable in class compressionFilters.CompressionResponseStream
The compression buffer size to avoid chunking
compressionBuffer - Variable in class compressionFilters.CompressionServletResponseWrapper
The compression buffer size
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
 
compressionMimeTypes - Variable in class compressionFilters.CompressionFilter
The mime types to compress.
compressionMimeTypes - Variable in class compressionFilters.CompressionResponseStream
The mime types to compress
compressionMimeTypes - Variable in class compressionFilters.CompressionServletResponseWrapper
The mime types to compress
CompressionResponseStream - Class in compressionFilters
Implementation of ServletOutputStream that works with the CompressionServletResponseWrapper implementation.
CompressionResponseStream(CompressionServletResponseWrapper, ServletOutputStream) - 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.
compressionThreshold - Variable in class compressionFilters.CompressionServletResponseWrapper
The threshold number to compress
connections - Variable in class chat.ChatServlet
 
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.
contextDestroyed(ServletContextEvent) - Method in class websocket.drawboard.DrawboardContextListener
 
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.
contextInitialized(ServletContextEvent) - Method in class websocket.drawboard.DrawboardContextListener
 
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
 
counter - Variable in class async.Stockticker
 
createAndAddPlayer(Client) - Method in class websocket.drawboard.Room
Creates a Player from the given Client and adds it to this room.
createOutputStream() - Method in class compressionFilters.CompressionServletResponseWrapper
Create and return a ServletOutputStream to write the content associated with this Response.

D

dates - package dates
 
debug - Variable in class compressionFilters.CompressionServletResponseWrapper
Debug level
DebugValidator - Class in validators
Example tag library validator that simply dumps the XML version of each page to standard output (which will typically be sent to the file $CATALINA_HOME/logs/catalina.out).
DebugValidator() - Constructor for class validators.DebugValidator
 
destroy() - Method in class chat.ChatServlet
 
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.
df - Static variable in class async.Stockticker.Stock
 
Direction - Enum in websocket.snake
 
doAfterBody() - Method in class examples.ExampleTagBase
 
doAfterBody() - Method in class examples.FooTag
 
doAfterBody() - Method in class examples.LogTag
 
doEndTag() - Method in class examples.ExampleTagBase
 
doEndTag() - Method in class examples.ShowSource
 
doEndTag() - Method in class examples.ValuesTag
 
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 ServletToJsp
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class SessionExample
 
doInitBody() - Method in class examples.ExampleTagBase
 
doInitBody() - Method in class examples.FooTag
 
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
 
doStartTag() - Method in class examples.ExampleTagBase
 
doStartTag() - Method in class examples.FooTag
Process start tag
doStartTag() - Method in class examples.LogTag
 
doTag() - Method in class jsp2.examples.simpletag.EchoAttributesTag
 
doTag() - Method in class jsp2.examples.simpletag.FindBookSimpleTag
 
doTag() - Method in class jsp2.examples.simpletag.HelloWorldSimpleTag
 
doTag() - Method in class jsp2.examples.simpletag.RepeatSimpleTag
 
doTag() - Method in class jsp2.examples.simpletag.ShuffleSimpleTag
 
doTag() - Method in class jsp2.examples.simpletag.TileSimpleTag
 
draw(Graphics2D) - Method in class websocket.drawboard.DrawMessage
Draws this DrawMessage onto the given Graphics2D.
DrawboardContextListener - Class in websocket.drawboard
 
DrawboardContextListener() - Constructor for class websocket.drawboard.DrawboardContextListener
 
DrawboardEndpoint - Class in websocket.drawboard
 
DrawboardEndpoint() - Constructor for class websocket.drawboard.DrawboardEndpoint
 
DrawMessage - Class in websocket.drawboard
A message that represents a drawing action.
DrawMessage(int, byte, byte, byte, byte, double, double, double, double, double, boolean) - Constructor for class websocket.drawboard.DrawMessage
 
DrawMessage.ParseException - Exception in websocket.drawboard
 
DrawMessage.ParseException(Throwable) - Constructor for exception websocket.drawboard.DrawMessage.ParseException
 
DrawMessage.ParseException(String) - Constructor for exception websocket.drawboard.DrawMessage.ParseException
 
DummyCart - Class in sessions
 
DummyCart() - Constructor for class sessions.DummyCart
 

E

EchoAnnotation - Class in websocket.echo
The three annotated echo endpoints can be used to test with Autobahn and the following command "wstest -m fuzzingclient -s servers.json".
EchoAnnotation() - Constructor for class websocket.echo.EchoAnnotation
 
EchoAsyncAnnotation - Class in websocket.echo
The three annotated echo endpoints can be used to test with Autobahn and the following command "wstest -m fuzzingclient -s servers.json".
EchoAsyncAnnotation() - Constructor for class websocket.echo.EchoAsyncAnnotation
 
EchoAttributesTag - Class in jsp2.examples.simpletag
SimpleTag handler that echoes all its attributes
EchoAttributesTag() - Constructor for class jsp2.examples.simpletag.EchoAttributesTag
 
echoBinaryMessage(Session, ByteBuffer, boolean) - Method in class websocket.echo.EchoAnnotation
 
echoBinaryMessage(byte[], Session, boolean) - Method in class websocket.echo.EchoAsyncAnnotation
 
echoBinaryMessage(byte[], Session, boolean) - Method in class websocket.echo.EchoStreamAnnotation
 
EchoEndpoint - Class in websocket.echo
 
EchoEndpoint() - Constructor for class websocket.echo.EchoEndpoint
 
echoPongMessage(PongMessage) - Method in class websocket.echo.EchoAnnotation
Process a received pong.
echoPongMessage(PongMessage) - Method in class websocket.echo.EchoAsyncAnnotation
Process a received pong.
echoPongMessage(PongMessage) - Method in class websocket.echo.EchoStreamAnnotation
Process a received pong.
EchoStreamAnnotation - Class in websocket.echo
The three annotated echo endpoints can be used to test with Autobahn and the following command "wstest -m fuzzingclient -s servers.json".
EchoStreamAnnotation() - Constructor for class websocket.echo.EchoStreamAnnotation
 
echoTextMessage(Session, String, boolean) - Method in class websocket.echo.EchoAnnotation
 
echoTextMessage(Session, String, boolean) - Method in class websocket.echo.EchoAsyncAnnotation
 
echoTextMessage(Session, String, boolean) - Method in class websocket.echo.EchoStreamAnnotation
 
encoding - Variable in class filters.SetCharacterEncodingFilter
The default character encoding to set for requests that pass through this filter.
end(CometEvent, HttpServletRequest, HttpServletResponse) - Method in class chat.ChatServlet
 
end() - Method in class websocket.chat.ChatAnnotation
 
Entries - Class in cal
 
Entries() - Constructor for class cal.Entries
 
Entry - Class in cal
 
Entry(String) - Constructor for class cal.Entry
 
equals(Object) - Method in class async.Stockticker.Stock
 
equals(Object) - Method in class websocket.snake.Location
 
error - package error
 
error(CometEvent, HttpServletRequest, HttpServletResponse) - Method in class chat.ChatServlet
 
event(CometEvent) - Method in class chat.ChatServlet
Process the given Comet event.
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
 
examples - package examples
 
ExamplesConfig - Class in websocket
 
ExamplesConfig() - Constructor for class websocket.ExamplesConfig
 
ExampleTagBase - Class in examples
 
ExampleTagBase() - Constructor for class examples.ExampleTagBase
 

F

filter(String) - Static method in class chat.ChatServlet
Filter the specified message string for characters that are sensitive in HTML.
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
 
FindBookSimpleTag - Class in jsp2.examples.simpletag
SimpleTag handler that pretends to search for a book, and stores the result in a scoped variable.
FindBookSimpleTag() - Constructor for class jsp2.examples.simpletag.FindBookSimpleTag
 
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
 
FooBean - Class in jsp2.examples
 
FooBean() - Constructor for class jsp2.examples.FooBean
 
FooTag - Class in examples
Example1: the simplest tag Collect attributes and call into some actions
FooTag() - Constructor for class examples.FooTag
 
FooTagExtraInfo - Class in examples
 
FooTagExtraInfo() - Constructor for class examples.FooTagExtraInfo
 
Functions - Class in jsp2.examples.el
Defines the functions for the jsp2 example tag library.
Functions() - Constructor for class jsp2.examples.el.Functions
 

G

getAdjacentLocation(Direction) - Method in class websocket.snake.Location
 
getAMPM() - Method in class cal.JspCalendar
 
getAMPM() - Method in class dates.JspCalendar
 
getAnnotatedEndpointClasses(Set<Class<?>>) - Method in class websocket.ExamplesConfig
 
getAnswer() - Method in class num.NumberGuessBean
 
getAttempts() - Method in class colors.ColorGameBean
 
getAuthor() - Method in class jsp2.examples.BookBean
 
getBar() - Method in class jsp2.examples.FooBean
 
getBytes() - Method in class websocket.drawboard.wsmessages.BinaryWebsocketMessage
 
getClient() - Method in class websocket.drawboard.Room.Player
 
getCnt() - Method in class async.Stockticker.Stock
 
getColor() - Method in class cal.Entry
 
getColor1() - Method in class colors.ColorGameBean
 
getColor2() - Method in class colors.ColorGameBean
 
getColorA() - Method in class websocket.drawboard.DrawMessage
 
getColorB() - Method in class websocket.drawboard.DrawMessage
 
getColorG() - Method in class websocket.drawboard.DrawMessage
 
getColorR() - Method in class websocket.drawboard.DrawMessage
 
getCurrentDate() - Method in class cal.JspCalendar
 
getDate() - Method in class cal.JspCalendar
 
getDate() - Method in class cal.TableBean
 
getDate() - Method in class dates.JspCalendar
 
getDay() - Method in class cal.JspCalendar
 
getDay() - Method in class dates.JspCalendar
 
getDayOfMonth() - Method in class cal.JspCalendar
 
getDayOfMonth() - Method in class dates.JspCalendar
 
getDayOfWeek() - Method in class cal.JspCalendar
 
getDayOfWeek() - Method in class dates.JspCalendar
 
getDayOfYear() - Method in class cal.JspCalendar
 
getDayOfYear() - Method in class dates.JspCalendar
 
getDescription() - Method in class cal.Entry
 
getDoubleValue() - Method in class jsp2.examples.ValuesBean
 
getDSTOffset() - Method in class cal.JspCalendar
 
getDSTOffset() - Method in class dates.JspCalendar
 
getEmail() - Method in class cal.TableBean
 
getEndpointConfigs(Set<Class<? extends Endpoint>>) - Method in class websocket.ExamplesConfig
 
getEntries() - Method in class cal.TableBean
 
getEntry(int) - Method in class cal.Entries
 
getEra() - Method in class cal.JspCalendar
 
getEra() - Method in class dates.JspCalendar
 
getFilterConfig() - Method in class compressionFilters.CompressionFilter
Return filter config Required by Weblogic 6.1
getFruit() - Method in class checkbox.CheckTest
 
getHead() - Method in class websocket.snake.Snake
 
getHeader(String) - Method in class compressionFilters.CompressionServletResponseWrapper
 
getHexColor() - Method in class websocket.snake.Snake
 
getHint() - Method in class colors.ColorGameBean
 
getHint() - Method in class num.NumberGuessBean
 
getHintTaken() - Method in class colors.ColorGameBean
 
getHour() - Method in class cal.Entry
 
getHour() - Method in class cal.JspCalendar
 
getHour() - Method in class dates.JspCalendar
 
getId() - Method in class websocket.snake.Snake
 
getIndex(String) - Method in class cal.Entries
 
getIntval() - Method in class colors.ColorGameBean
 
getIsbn() - Method in class jsp2.examples.BookBean
 
getItems() - Method in class sessions.DummyCart
 
getLastChange() - Method in class async.Stockticker.Stock
 
getLastChangeAsString() - Method in class async.Stockticker.Stock
 
getLocationsJson() - Method in class websocket.snake.Snake
 
getLongValue() - Method in class jsp2.examples.ValuesBean
 
getMinute() - Method in class cal.JspCalendar
 
getMinute() - Method in class dates.JspCalendar
 
getMonth() - Method in class cal.JspCalendar
 
getMonth() - Method in class dates.JspCalendar
 
getMonthInt() - Method in class cal.JspCalendar
 
getMonthInt() - Method in class dates.JspCalendar
 
getName() - Method in class cal.TableBean
 
getName() - Method in class error.Smart
 
getNextDate() - Method in class cal.JspCalendar
 
getNumGuesses() - Method in class num.NumberGuessBean
 
getOutputStream() - Method in class compressionFilters.CompressionServletResponseWrapper
Return the servlet output stream associated with this Response.
getParent() - Method in class examples.ExampleTagBase
 
getPrevDate() - Method in class cal.JspCalendar
 
getProcessError() - Method in class cal.TableBean
 
getRandomHexColor() - Static method in class websocket.snake.SnakeAnnotation
 
getRandomLocation() - Static method in class websocket.snake.SnakeAnnotation
 
getRoom(boolean) - Static method in class websocket.drawboard.DrawboardEndpoint
 
getRoom() - Method in class websocket.drawboard.Room.Player
 
getRows() - Method in class cal.Entries
 
getSecond() - Method in class cal.JspCalendar
 
getSecond() - Method in class dates.JspCalendar
 
getSnakes() - Static method in class websocket.snake.SnakeTimer
 
getString() - Method in class websocket.drawboard.wsmessages.StringWebsocketMessage
 
getStringValue() - Method in class jsp2.examples.ValuesBean
 
getSuccess() - Method in class colors.ColorGameBean
 
getSuccess() - Method in class num.NumberGuessBean
 
getSymbol() - Method in class async.Stockticker.Stock
 
getTail() - Method in class websocket.snake.Snake
 
getThickness() - Method in class websocket.drawboard.DrawMessage
 
getTime() - Method in class cal.JspCalendar
 
getTime() - Method in class dates.JspCalendar
 
getTitle() - Method in class jsp2.examples.BookBean
 
getType() - Method in class websocket.drawboard.DrawMessage
The type.
1: Brush
2: Line
3: Rectangle
4: Ellipse
getUSTimeZone() - Method in class cal.JspCalendar
 
getUSTimeZone() - Method in class dates.JspCalendar
 
getValue() - Method in class async.Stockticker.Stock
 
getValueAsString() - Method in class async.Stockticker.Stock
 
getVariableInfo(TagData) - Method in class examples.FooTagExtraInfo
 
getWeekOfMonth() - Method in class cal.JspCalendar
 
getWeekOfMonth() - Method in class dates.JspCalendar
 
getWeekOfYear() - Method in class cal.JspCalendar
 
getWeekOfYear() - Method in class dates.JspCalendar
 
getWriter() - Method in class compressionFilters.CompressionServletResponseWrapper
Return the writer associated with this Response.
getX1() - Method in class websocket.drawboard.DrawMessage
 
getX2() - Method in class websocket.drawboard.DrawMessage
 
getY1() - Method in class websocket.drawboard.DrawMessage
 
getY2() - Method in class websocket.drawboard.DrawMessage
 
getYear() - Method in class cal.JspCalendar
 
getYear() - Method in class dates.JspCalendar
 
getZoneOffset() - Method in class cal.JspCalendar
 
getZoneOffset() - Method in class dates.JspCalendar
 
GRID_SIZE - Static variable in class websocket.snake.SnakeAnnotation
 
gzipstream - Variable in class compressionFilters.CompressionResponseStream
The underlying gzip output stream to which we should write data.

H

handleDrawMessage(DrawMessage, long) - Method in class websocket.drawboard.Room.Player
Handles the given DrawMessage by drawing it onto this Room's image and by broadcasting it to the connected players.
hashCode() - Method in class async.Stockticker.Stock
 
hashCode() - Method in class websocket.snake.Location
 
HelloWorldExample - Class in <Unnamed>
The simplest possible servlet.
HelloWorldExample() - Constructor for class HelloWorldExample
 
HelloWorldSimpleTag - Class in jsp2.examples.simpletag
SimpleTag handler that prints "Hello, world!"
HelloWorldSimpleTag() - Constructor for class jsp2.examples.simpletag.HelloWorldSimpleTag
 
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?
incoming(String) - Method in class websocket.chat.ChatAnnotation
 
info - Static variable in class compressionFilters.CompressionServletResponseWrapper
Descriptive information about this Response implementation.
init() - Method in class chat.ChatServlet
 
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.
invokeAndWait(Runnable) - Method in class websocket.drawboard.Room
Submits the given Runnable to the Room Executor and waits until it has been executed.
isLastInChain() - Method in class websocket.drawboard.DrawMessage
Specifies if this DrawMessage is the last one in a chain (e.g.

J

jsp2.examples - package jsp2.examples
 
jsp2.examples.el - package jsp2.examples.el
 
jsp2.examples.simpletag - package jsp2.examples.simpletag
 
JspCalendar - Class in cal
 
JspCalendar() - Constructor for class cal.JspCalendar
 
JspCalendar - Class in dates
 
JspCalendar() - Constructor for class dates.JspCalendar
 

L

lastchange - Variable in class async.Stockticker.Stock
 
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
 
Location - Class in websocket.snake
 
Location(int, int) - Constructor for class websocket.snake.Location
 
LogTag - Class in examples
Log the contents of the body.
LogTag() - Constructor for class examples.LogTag
 
LONG_POLL - Static variable in class async.AsyncStockServlet
 

M

main(String[]) - Static method in class dates.JspCalendar
 
messages - Variable in class chat.ChatServlet.MessageSender
 
messageSender - Variable in class chat.ChatServlet
 

N

num - package num
 
NumberGuessBean - Class in num
 
NumberGuessBean() - Constructor for class num.NumberGuessBean
 
numVowels(String) - Static method in class jsp2.examples.el.Functions
 

O

onClose(Session, CloseReason) - Method in class websocket.drawboard.DrawboardEndpoint
 
onClose() - Method in class websocket.snake.SnakeAnnotation
 
onComplete(AsyncEvent) - Method in class async.AsyncStockServlet
 
onError(AsyncEvent) - Method in class async.AsyncStockServlet
 
onError(Throwable) - Method in class websocket.chat.ChatAnnotation
 
onError(Session, Throwable) - Method in class websocket.drawboard.DrawboardEndpoint
 
onError(Throwable) - Method in class websocket.snake.SnakeAnnotation
 
onOpen(Session, EndpointConfig) - Method in class websocket.drawboard.DrawboardEndpoint
 
onOpen(Session, EndpointConfig) - Method in class websocket.echo.EchoEndpoint
 
onOpen(Session) - Method in class websocket.snake.SnakeAnnotation
 
onStartAsync(AsyncEvent) - Method in class async.AsyncStockServlet
 
onTextMessage(String) - Method in class websocket.snake.SnakeAnnotation
 
onTimeout(AsyncEvent) - Method in class async.AsyncStockServlet
 
origResponse - Variable in class compressionFilters.CompressionServletResponseWrapper
Original response
output - Variable in class compressionFilters.CompressionResponseStream
The underlying servlet output stream to which we should write data.

P

parent - Variable in class examples.ExampleTagBase
 
parseFromString(String) - Static method in class websocket.drawboard.DrawMessage
 
PLAYFIELD_HEIGHT - Static variable in class websocket.snake.SnakeAnnotation
 
PLAYFIELD_WIDTH - Static variable in class websocket.snake.SnakeAnnotation
 
POLL - Static variable in class async.AsyncStockServlet
 
processRequest(HttpServletRequest, String) - Method in class cal.Entries
 
processRequest(HttpServletRequest) - Method in class cal.TableBean
 
processRequest() - Method in class colors.ColorGameBean
 
processRequest() - Method in class sessions.DummyCart
 

R

read(CometEvent, HttpServletRequest, HttpServletResponse) - Method in class chat.ChatServlet
 
release() - Method in class examples.ExampleTagBase
 
removeFromRoom() - Method in class websocket.drawboard.Room.Player
Removes this player from its room, e.g.
removeSnake(Snake) - Static method in class websocket.snake.SnakeTimer
 
removeTickListener(Stockticker.TickListener) - Method in class async.Stockticker
 
RepeatSimpleTag - Class in jsp2.examples.simpletag
SimpleTag handler that accepts a num attribute and invokes its body 'num' times.
RepeatSimpleTag() - Constructor for class jsp2.examples.simpletag.RepeatSimpleTag
 
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
 
reset() - Method in class colors.ColorGameBean
 
reset() - Method in class num.NumberGuessBean
 
response - Variable in class compressionFilters.CompressionResponseStream
The response with which this servlet output stream is associated.
reverse(String) - Static method in class jsp2.examples.el.Functions
 
Room - Class in websocket.drawboard
A Room represents a drawboard where a number of users participate.

Note: Instance methods should only be invoked by calling Room.invokeAndWait(Runnable) to ensure access is correctly synchronized.
Room() - Constructor for class websocket.drawboard.Room
 
Room.MessageType - Enum in websocket.drawboard
Specifies the type of a room message that is sent to a client.
Note: Currently we are sending simple string messages - for production apps, a JSON lib should be used for object-level messages.

The number (single char) will be prefixed to the string when sending the message.
Room.Player - Class in websocket.drawboard
A Player participates in a Room.
rows - Static variable in class cal.Entries
 
run - Variable in class async.Stockticker
 
run() - Method in class async.Stockticker
 
run() - Method in class chat.ChatServlet.MessageSender
The background thread that listens for incoming TCP/IP connections and hands them off to an appropriate processor.
running - Variable in class chat.ChatServlet.MessageSender
 

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.
send(String, String) - Method in class chat.ChatServlet.MessageSender
 
sendMessage(AbstractWebsocketMessage) - Method in class websocket.drawboard.Client
Sends the given message asynchronously to the client.
sendMessage(String) - Method in class websocket.snake.Snake
 
service(HttpServletRequest, HttpServletResponse) - Method in class async.Async0
 
service(HttpServletRequest, HttpServletResponse) - Method in class async.Async1
 
service(HttpServletRequest, HttpServletResponse) - Method in class async.Async2
 
service(HttpServletRequest, HttpServletResponse) - Method in class async.Async3
 
service(HttpServletRequest, HttpServletResponse) - Method in class async.AsyncStockServlet
 
service(HttpServletRequest, HttpServletResponse) - Method in class chat.ChatServlet
 
ServletToJsp - Class in <Unnamed>
 
ServletToJsp() - Constructor for class ServletToJsp
 
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
 
sessions - package sessions
 
setAction(String) - Method in class colors.ColorGameBean
 
setAnswer(int) - Method in class num.NumberGuessBean
 
setAtt1(String) - Method in class examples.FooTag
 
setAtt2(String) - Method in class examples.FooTag
 
setAtt3(String) - Method in class examples.FooTag
 
setBar(String) - Method in class jsp2.examples.FooBean
 
setBodyContent(BodyContent) - Method in class examples.ExampleTagBase
 
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
 
setCnt(int) - Method in class async.Stockticker.Stock
 
setColor(String) - Method in class jsp2.examples.simpletag.TileSimpleTag
 
setColor1(String) - Method in class colors.ColorGameBean
 
setColor2(String) - Method in class colors.ColorGameBean
 
setColorA(byte) - Method in class websocket.drawboard.DrawMessage
 
setColorB(byte) - Method in class websocket.drawboard.DrawMessage
 
setColorG(byte) - Method in class websocket.drawboard.DrawMessage
 
setColorR(byte) - Method in class websocket.drawboard.DrawMessage
 
setCompressionBuffer(int) - Method in class compressionFilters.CompressionResponseStream
The compression buffer size to avoid chunking
setCompressionBuffer(int) - Method in class compressionFilters.CompressionServletResponseWrapper
Set compression buffer
setCompressionMimeTypes(String[]) - Method in class compressionFilters.CompressionResponseStream
Set supported mime types
setCompressionMimeTypes(String[]) - Method in class compressionFilters.CompressionServletResponseWrapper
Set compressible mime types
setCompressionThreshold(int) - Method in class compressionFilters.CompressionResponseStream
Set the compressionThreshold number and create buffer for this size
setCompressionThreshold(int) - Method in class compressionFilters.CompressionServletResponseWrapper
Set threshold number
setDebugLevel(int) - Method in class compressionFilters.CompressionResponseStream
Set debug level
setDebugLevel(int) - Method in class compressionFilters.CompressionServletResponseWrapper
Set debug level
setDescription(String) - Method in class cal.Entry
 
setDirection(Direction) - Method in class websocket.snake.Snake
 
setDouble(double) - Method in class examples.ValuesTag
 
setDoubleValue(double) - Method in class jsp2.examples.ValuesBean
 
setDynamicAttribute(String, String, Object) - Method in class jsp2.examples.simpletag.EchoAttributesTag
 
setEmail(String) - Method in class cal.TableBean
 
setFilterConfig(FilterConfig) - Method in class compressionFilters.CompressionFilter
Set filter config This function is equivalent to init.
setFragment1(JspFragment) - Method in class jsp2.examples.simpletag.ShuffleSimpleTag
 
setFragment2(JspFragment) - Method in class jsp2.examples.simpletag.ShuffleSimpleTag
 
setFragment3(JspFragment) - Method in class jsp2.examples.simpletag.ShuffleSimpleTag
 
setFruit(String[]) - Method in class checkbox.CheckTest
 
setGuess(String) - Method in class num.NumberGuessBean
 
setHeader(String, String) - Method in class compressionFilters.CompressionServletResponseWrapper
 
setHint(String) - Method in class num.NumberGuessBean
 
setIntval(int) - Method in class colors.ColorGameBean
 
setItem(String) - Method in class sessions.DummyCart
 
setJspFile(String) - Method in class examples.ShowSource
 
setLabel(String) - Method in class jsp2.examples.simpletag.TileSimpleTag
 
setLastChange(double) - Method in class async.Stockticker.Stock
 
setLastInChain(boolean) - Method in class websocket.drawboard.DrawMessage
 
setLong(long) - Method in class examples.ValuesTag
 
setLongValue(long) - Method in class jsp2.examples.ValuesBean
 
setName(String) - Method in class cal.TableBean
 
setName(String) - Method in class error.Smart
 
setNum(int) - Method in class jsp2.examples.simpletag.RepeatSimpleTag
 
setNumGuesses(int) - Method in class num.NumberGuessBean
 
setObject(Object) - Method in class examples.ValuesTag
 
setParent(Tag) - Method in class examples.ExampleTagBase
 
setString(String) - Method in class examples.ValuesTag
 
setStringValue(String) - Method in class jsp2.examples.ValuesBean
 
setSubmit(String) - Method in class sessions.DummyCart
 
setSuccess(boolean) - Method in class num.NumberGuessBean
 
setThickness(double) - Method in class websocket.drawboard.DrawMessage
 
setToBrowser(String) - Method in class examples.LogTag
 
setType(int) - Method in class websocket.drawboard.DrawMessage
 
setValue(double) - Method in class async.Stockticker.Stock
 
setVar(String) - Method in class jsp2.examples.simpletag.FindBookSimpleTag
 
setX1(double) - Method in class websocket.drawboard.DrawMessage
 
setX2(double) - Method in class websocket.drawboard.DrawMessage
 
setY1(double) - Method in class websocket.drawboard.DrawMessage
 
setY2(double) - Method in class websocket.drawboard.DrawMessage
 
ShowSource - Class in examples
Display the sources of the JSP file.
ShowSource() - Constructor for class examples.ShowSource
 
ShuffleSimpleTag - Class in jsp2.examples.simpletag
SimpleTag handler that accepts takes three attributes of type JspFragment and invokes then in a random order.
ShuffleSimpleTag() - Constructor for class jsp2.examples.simpletag.ShuffleSimpleTag
 
shutdown() - Method in class websocket.drawboard.Room
Shuts down the roomExecutor and the drawmessageBroadcastTimer.
Smart - Class in error
 
Smart() - Constructor for class error.Smart
 
Snake - Class in websocket.snake
 
Snake(int, Session) - Constructor for class websocket.snake.Snake
 
SnakeAnnotation - Class in websocket.snake
 
SnakeAnnotation() - Constructor for class websocket.snake.SnakeAnnotation
 
SnakeTimer - Class in websocket.snake
Sets up the timer for the multi-player snake game WebSocket example.
SnakeTimer() - Constructor for class websocket.snake.SnakeTimer
 
start() - Method in class async.Stockticker
 
start(Session) - Method in class websocket.chat.ChatAnnotation
 
startTimer() - Static method in class websocket.snake.SnakeTimer
 
Stockticker - Class in async
 
Stockticker() - Constructor for class async.Stockticker
 
Stockticker.Stock - Class in async
 
Stockticker.Stock(String, double) - Constructor for class async.Stockticker.Stock
 
Stockticker.TickListener - Interface in async
 
stop() - Method in class async.Stockticker
 
stop() - Method in class chat.ChatServlet.MessageSender
 
stopTimer() - Static method in class websocket.snake.SnakeTimer
 
STREAM - Static variable in class async.AsyncStockServlet
 
stream - Variable in class compressionFilters.CompressionServletResponseWrapper
The ServletOutputStream that has been returned by getOutputStream(), if any.
StringWebsocketMessage - Class in websocket.drawboard.wsmessages
Represents a string websocket message.
StringWebsocketMessage(String) - Constructor for class websocket.drawboard.wsmessages.StringWebsocketMessage
 
symbol - Variable in class async.Stockticker.Stock
 

T

TableBean - Class in cal
 
TableBean() - Constructor for class cal.TableBean
 
tick(Stockticker.Stock) - Method in class async.AsyncStockServlet
 
tick(Stockticker.Stock) - Method in interface async.Stockticker.TickListener
 
tick() - Static method in class websocket.snake.SnakeTimer
 
ticker - Variable in class async.Stockticker
 
ticknr - Variable in class async.Stockticker
 
TileSimpleTag - Class in jsp2.examples.simpletag
Displays a tile as a single cell in a table.
TileSimpleTag() - Constructor for class jsp2.examples.simpletag.TileSimpleTag
 
toString() - Method in class async.Stockticker.Stock
 
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.
toString() - Method in class websocket.drawboard.DrawMessage
Converts this message into a String representation that can be sent over WebSocket.
Since a DrawMessage consists only of numbers, we concatenate those numbers with a ",".

U

update(Collection<Snake>) - Method in class websocket.snake.Snake
 
util - package util
 

V

validate(String, String, PageData) - Method in class validators.DebugValidator
Validate a JSP page.
validators - package validators
 
value - Variable in class async.Stockticker.Stock
 
valueOf(String) - Static method in enum websocket.drawboard.Room.MessageType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum websocket.snake.Direction
Returns the enum constant of this type with the specified name.
values() - Static method in enum websocket.drawboard.Room.MessageType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum websocket.snake.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
ValuesBean - Class in jsp2.examples
Accept and display a value.
ValuesBean() - Constructor for class jsp2.examples.ValuesBean
 
ValuesTag - Class in examples
Accept and display a value.
ValuesTag() - Constructor for class examples.ValuesTag
 

W

websocket - package websocket
 
websocket.chat - package websocket.chat
 
websocket.drawboard - package websocket.drawboard
 
websocket.drawboard.wsmessages - package websocket.drawboard.wsmessages
 
websocket.echo - package websocket.echo
 
websocket.snake - package websocket.snake
 
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.
writeStock(AsyncContext, Stockticker.Stock) - Method in class async.AsyncStockServlet
 
writeToGZip(byte[], int, int) - Method in class compressionFilters.CompressionResponseStream
 

X

x - Variable in class websocket.snake.Location
 

Y

y - Variable in class websocket.snake.Location
 
A B C D E F G H I J L M N O P R S T U V W X Y 

Copyright © 2015 WSO2 Inc. All rights reserved.