C D E F G H I J M O R S T V

C

ClassFinder - Class in org.bibeault.frontman.utensils
 
ClassFinder() - Constructor for class org.bibeault.frontman.utensils.ClassFinder
 
Command - Interface in org.bibeault.frontman
Interface that defines a unit of controller execution: a "Command".
CommandBroker - Class in org.bibeault.frontman
A simple Front Controller using a simple "configuration by convention" mechanism to locate Command classes and View resources.
CommandBroker() - Constructor for class org.bibeault.frontman.CommandBroker
 
CommandContext - Interface in org.bibeault.frontman
Defines the interface for an object instance passed to the execute() method of a Command instance.
CommandContextImplementation - Class in org.bibeault.frontman
A context object that maintains the state information for the invocation of a command, as well as making various useful methods available to Command implementations.
CommandContextImplementation(CommandBroker, HttpServletRequest, HttpServletResponse) - Constructor for class org.bibeault.frontman.CommandContextImplementation
 
CommandNotFoundException - Exception in org.bibeault.frontman
An extension of ServletException that is thrown by the Command Broker in the event that an invalid command verb is referenced.
CommandNotFoundException(String, Exception) - Constructor for exception org.bibeault.frontman.CommandNotFoundException
 
CommandNotFoundException(String) - Constructor for exception org.bibeault.frontman.CommandNotFoundException
 

D

doGet(HttpServletRequest, HttpServletResponse) - Method in class org.bibeault.frontman.CommandBroker
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.bibeault.frontman.CommandBroker
 

E

encode(String) - Static method in class org.bibeault.frontman.utensils.HTMLEncoder
Encodes a source string such that the special HTML characters <, >, ", ' and & are converted to their HTML Entity equivalents.
encode(String) - Static method in class org.bibeault.frontman.utensils.JavascriptStringEncoder
Encodes a source string such that the special Javascript string characters ", ' and & are escaped to make it safe to sue the string within a Javascript string literal.
execute(CommandContext) - Method in interface org.bibeault.frontman.Command
Called by the Command Broker in order to allow each command to perform its action.

F

findClassesIn(String) - Static method in class org.bibeault.frontman.utensils.ClassFinder
 
findInterfaceImplementors(String, Class) - Static method in class org.bibeault.frontman.utensils.ClassFinder
 
findScopedVariable(Object) - Method in interface org.bibeault.frontman.CommandContext
Finds a scoped variable.
findScopedVariable(Object) - Method in class org.bibeault.frontman.CommandContextImplementation
Finds a scoped variable.
forward(String) - Method in interface org.bibeault.frontman.CommandContext
Forwards the current request to the resource at the specified path.
forward(String) - Method in class org.bibeault.frontman.CommandContextImplementation
Forwards the current request to the resource at the specified path.
forwardToCommand(String) - Method in interface org.bibeault.frontman.CommandContext
Convenience wrapper around the CommandContext.forward(String) method that forwards to the command specified by the passed command verb.
forwardToCommand(String) - Method in class org.bibeault.frontman.CommandContextImplementation
Convenience wrapper around the CommandContextImplementation.forward(String) method that forwards to the command specified by the passed command verb.
forwardToView(String) - Method in interface org.bibeault.frontman.CommandContext
Convenience wrapper around the CommandContext.forward(String) method that forwards to the view specified by the passed view name.
forwardToView(String) - Method in class org.bibeault.frontman.CommandContextImplementation
Convenience wrapper around the CommandContextImplementation.forward(String) method that forwards to the view specified by the passed view name.
FrontmanCommand - Annotation Type in org.bibeault.frontman
Annotation to associate a command implementation with its verb.

G

getCommandBroker() - Method in interface org.bibeault.frontman.CommandContext
 
getCommandBroker() - Method in class org.bibeault.frontman.CommandContextImplementation
 
getPathInfo() - Method in interface org.bibeault.frontman.CommandContext
Returns the path info for the current request.
getPathInfo() - Method in class org.bibeault.frontman.CommandContextImplementation
Returns the path info for the current request.
getRequest() - Method in interface org.bibeault.frontman.CommandContext
 
getRequest() - Method in class org.bibeault.frontman.CommandContextImplementation
 
getResponse() - Method in interface org.bibeault.frontman.CommandContext
 
getResponse() - Method in class org.bibeault.frontman.CommandContextImplementation
 
getScopedVariable(Object, ScopedContext) - Method in interface org.bibeault.frontman.CommandContext
Gets a scoped variable from the specified context.
getScopedVariable(Object, ScopedContext) - Method in class org.bibeault.frontman.CommandContextImplementation
Gets a scoped variable from the specified context.
getServletContext() - Method in interface org.bibeault.frontman.CommandContext
 
getServletContext() - Method in class org.bibeault.frontman.CommandContextImplementation
 
getSession() - Method in interface org.bibeault.frontman.CommandContext
 
getSession() - Method in class org.bibeault.frontman.CommandContextImplementation
 

H

HTMLEncoder - Class in org.bibeault.frontman.utensils
 
HTMLEncoder() - Constructor for class org.bibeault.frontman.utensils.HTMLEncoder
 

I

init() - Method in class org.bibeault.frontman.CommandBroker
 

J

JavascriptStringEncoder - Class in org.bibeault.frontman.utensils
 
JavascriptStringEncoder() - Constructor for class org.bibeault.frontman.utensils.JavascriptStringEncoder
 

M

main(String[]) - Static method in class org.bibeault.frontman.utensils.ClassFinder
 

O

org.bibeault.frontman - package org.bibeault.frontman
Bear Bibeault's Front Man™ (called simply "Front Man" from here on) is an implementation of the Front Controller and Command patterns that serves as an ultra-lightweight framework (if you could call it that) for quickly creating web applications of all sizes.
org.bibeault.frontman.utensils - package org.bibeault.frontman.utensils
This packages contains miscellaneous utility classes.

R

redirect(String) - Method in interface org.bibeault.frontman.CommandContext
Sends a temporary redirect response to the client using the specified redirect location URL.
redirect(String, Map<String, String[]>) - Method in interface org.bibeault.frontman.CommandContext
Sends a temporary redirect response to the client using the specified redirect location URL.
redirect(String) - Method in class org.bibeault.frontman.CommandContextImplementation
Sends a temporary redirect response to the client using the specified redirect location URL.
redirect(String, Map<String, String[]>) - Method in class org.bibeault.frontman.CommandContextImplementation
Sends a temporary redirect response to the client using the specified redirect location URL.
redirectToCommand(String) - Method in interface org.bibeault.frontman.CommandContext
Convenience wrapper around the CommandContext.redirect(String) method that redirects to the command specified by the passed command verb.
redirectToCommand(String, Map<String, String[]>) - Method in interface org.bibeault.frontman.CommandContext
Convenience wrapper around the CommandContext.redirect(String) method that redirects to the command specified by the passed command verb, with one or more request parameters.
redirectToCommand(String) - Method in class org.bibeault.frontman.CommandContextImplementation
Convenience wrapper around the CommandContextImplementation.redirect(String) method that redirects to the command specified by the passed command verb.
redirectToCommand(String, Map<String, String[]>) - Method in class org.bibeault.frontman.CommandContextImplementation
Convenience wrapper around the CommandContextImplementation.redirect(String) method that redirects to the command specified by the passed command verb, with one or more request parameters.
redirectToView(String) - Method in interface org.bibeault.frontman.CommandContext
Convenience wrapper around the CommandContext.redirect(String) method that redirects to the view specified by the passed view name.
redirectToView(String, Map<String, String[]>) - Method in interface org.bibeault.frontman.CommandContext
Convenience wrapper around the CommandContext.redirect(String) method that redirects to the view specified by the passed view name, with one or more request parameters.
redirectToView(String) - Method in class org.bibeault.frontman.CommandContextImplementation
Convenience wrapper around the CommandContextImplementation.redirect(String) method that redirects to the view specified by the passed view name.
redirectToView(String, Map<String, String[]>) - Method in class org.bibeault.frontman.CommandContextImplementation
Convenience wrapper around the CommandContextImplementation.redirect(String) method that redirects to the view specified by the passed view name, with one or more request parameters.
RequestParameterMap - Class in org.bibeault.frontman.utensils
An extension of HashMap that generifies the Map using a String as they key and a String array as the value.
RequestParameterMap() - Constructor for class org.bibeault.frontman.utensils.RequestParameterMap
 

S

ScopedContext - Enum in org.bibeault.frontman
Enumeration modeling the four context scopes.
sendError(int) - Method in interface org.bibeault.frontman.CommandContext
Sends an error response to the client with the specified status code.
sendError(int) - Method in class org.bibeault.frontman.CommandContextImplementation
Sends an error response to the client with the specified status code.
setScopedVariable(Object, Object, ScopedContext) - Method in interface org.bibeault.frontman.CommandContext
Sets a scoped variable into the specified context.
setScopedVariable(Object, Object) - Method in interface org.bibeault.frontman.CommandContext
Sets a scoped variable into the request context.
setScopedVariable(Object, Object, ScopedContext) - Method in class org.bibeault.frontman.CommandContextImplementation
Sets a scoped variable into the specified context.
setScopedVariable(Object, Object) - Method in class org.bibeault.frontman.CommandContextImplementation
Sets a scoped variable into the request context.

T

toValue() - Method in enum org.bibeault.frontman.ScopedContext
Returns the corresponding numeric value for this context as defined by javax.servlet.jsp.PageContext.

V

valueOf(String) - Static method in enum org.bibeault.frontman.ScopedContext
Returns the enum constant of this type with the specified name.
valueOfCaseInsensitive(String) - Static method in enum org.bibeault.frontman.ScopedContext
Case-insensitive variant of the valueOf() method.
values() - Static method in enum org.bibeault.frontman.ScopedContext
Returns an array containing the constants of this enum type, in the order they're declared.
ViewNotFoundException - Exception in org.bibeault.frontman
An extension of ServletException that is thrown by the Command Broker in the event that an invalid view name is referenced.
ViewNotFoundException(String, Exception) - Constructor for exception org.bibeault.frontman.ViewNotFoundException
 
ViewNotFoundException(String) - Constructor for exception org.bibeault.frontman.ViewNotFoundException
 

C D E F G H I J M O R S T V