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

A

AbstractHttpAuthenticationFilter - Class in org.alweb.doff.util
Provides a way to manage HTTP authentication.
AbstractHttpAuthenticationFilter() - Constructor for class org.alweb.doff.util.AbstractHttpAuthenticationFilter
 
AbstractPaginationTag - Class in org.alweb.doff.jsp
Superclass of all pagination tags.
AbstractPaginationTag() - Constructor for class org.alweb.doff.jsp.AbstractPaginationTag
 
AbstractURLTag - Class in org.alweb.doff.jsp
Superclass of URL tags.
AbstractURLTag() - Constructor for class org.alweb.doff.jsp.AbstractURLTag
 
Action - Annotation Type in org.alweb.doff.annotation
Represents a Web action.
ActionLauncher - Class in org.alweb.doff.engine
Provides a way to execute controller's action.
ActionLauncher(ActionMapping, Controller) - Constructor for class org.alweb.doff.engine.ActionLauncher
Creates a new ActionLauncher instance from its action's mapping and its controller.
ActionMapping - Class in org.alweb.doff.mapping
Represents a mapping of an action.
ActionMapping(ControllerMapping, Method) - Constructor for class org.alweb.doff.mapping.ActionMapping
Creates a new ActionMapping instance from its controller mapping and its method.
add(Executable) - Method in class org.alweb.doff.engine.ExecutionChain
Adds an executable item to this chain queue.
addAll(Collection<? extends Executable>) - Method in class org.alweb.doff.engine.ExecutionChain
Adds all items of the specified collection into this chain.
addAll(Executable...) - Method in class org.alweb.doff.engine.ExecutionChain
Adds all items of the specified array into this chain.
addArgument(Object) - Method in class org.alweb.doff.jsp.AbstractURLTag
 
addCookie(String, String) - Method in class org.alweb.doff.core.Service
Creates a session cookie (means that cookie will expire when the browser is closed).
addCookie(String, String, int) - Method in class org.alweb.doff.core.Service
Tries to create a cookie on the client browser.
addError(ErrorMessage) - Method in class org.alweb.doff.util.error.ErrorContainer
Adds specified error (if not null) to internal error list.
addError(String, Object...) - Method in class org.alweb.doff.util.error.ErrorContainer
Creates and add an error from specified message and params and return it.
addErrors(Collection<ErrorMessage>) - Method in class org.alweb.doff.util.error.ErrorContainer
Adds all errors from the specified collection to the error internal collection.
addErrors(ErrorProducer...) - Method in class org.alweb.doff.util.error.ErrorContainer
Adds all errors of specified producers to errors internal collection.
addErrors(String...) - Method in class org.alweb.doff.util.error.ErrorContainer
Adds and construct all errors from specified messages.
addHeader(Header, Object) - Method in class org.alweb.doff.core.Service
Adds a response header with the given header and value.
addHeader(String, Object) - Method in class org.alweb.doff.core.Service
Adds a response header with the given name and value.
addParam(Object) - Method in class org.alweb.doff.util.error.ErrorMessage
Adds specified parameter into the internal parameter list.
addParams(Collection<Object>) - Method in class org.alweb.doff.util.error.ErrorMessage
Adds specified parameters into the internal parameter list.
addParams(Object...) - Method in class org.alweb.doff.util.error.ErrorMessage
Adds specified parameters into the internal parameter list.
ArgTag - Class in org.alweb.doff.jsp
This tag is used for adding extra URL informations to URLTag.
ArgTag() - Constructor for class org.alweb.doff.jsp.ArgTag
 
assignFieldsInRequest(Controller) - Method in class org.alweb.doff.mapping.ControllerMapping
Assign all fields of specified controller to the current request.
autoLink(String) - Static method in class org.alweb.doff.jsp.Functions
Turns all URLs and email addresses into specified text into clickable links.
autoLinkMailAddress(String) - Static method in class org.alweb.doff.jsp.Functions
Turns all email addresses into specified text into clickable links.
autoLinkURL(String) - Static method in class org.alweb.doff.jsp.Functions
Turns all URLs into specified text into clickable links.

B

buildURL(String, int, String) - Method in enum org.alweb.doff.http.Protocol
Builds an URL with specified host, port and path for this protocol.
buildURL(String, String) - Method in enum org.alweb.doff.http.Protocol
Builds an URL with specified host and path for this protocol.

C

call(Object, String) - Static method in class org.alweb.doff.jsp.Functions
Calls specified method on specified object.
checkConflicts(ActionMapping) - Method in class org.alweb.doff.mapping.ActionMapping
Checks if this ActionMapping object conflicts with specified action.
checkConflicts(Collection<? extends ActionMapping>) - Method in class org.alweb.doff.mapping.ActionMapping
Checks if one of specified actions is in conflict with this ActionMapping object.
checkConflicts(Collection<? extends ControllerMapping>) - Method in class org.alweb.doff.mapping.ControllerMapping
Checks if this ControllerMapping object conflicts with at least one specified mapping.
checkConflicts(ControllerMapping) - Method in class org.alweb.doff.mapping.ControllerMapping
Checks if this ControllerMapping object conflicts with the specified mapping.
ClassFinder - Class in org.alweb.doff.engine
Provides a way to find and load all classes into a specified path.
ClassFinder() - Constructor for class org.alweb.doff.engine.ClassFinder
 
clean(String) - Static method in class org.alweb.doff.util.PathUtilities
Removes consecutive slashes and consecutive white spaces (only one is preserved) on the specified path.
clearErrors() - Method in class org.alweb.doff.util.error.ErrorContainer
Clear all errors of this object.
Code - Enum in org.alweb.doff.http
Represents all known HTTP codes.
compareTo(Object) - Method in class org.alweb.doff.util.Parameter
 
contains(Executable) - Method in class org.alweb.doff.engine.ExecutionChain
Determines if the chain contains the specified Executable item.
containsPathPattern() - Method in class org.alweb.doff.mapping.ActionMapping
Determines if this mapping contains at least one path pattern.
containsValue(Object) - Method in class org.alweb.doff.util.ParameterMap
Returns true if this map maps one or more keys to the specified value.
contentTag(String, String, Object...) - Static method in class org.alweb.doff.util.HTMLHelper
Builds a HTML content tag.
Controller - Class in org.alweb.doff.core
Represents the superclass of all of your controllers.
Controller() - Constructor for class org.alweb.doff.core.Controller
 
ControllerEngine - Class in org.alweb.doff.engine
Provides a way to manage controller's mappings.
ControllerEngine() - Constructor for class org.alweb.doff.engine.ControllerEngine
 
ControllerMapping - Class in org.alweb.doff.mapping
Represents the mapping of a Controller class.
ControllerMapping(Class<? extends Controller>) - Constructor for class org.alweb.doff.mapping.ControllerMapping
Constructs a new ControllerMapping instance from a Controller class.
controllers() - Method in class org.alweb.doff.debug.Debugger
Displays controller's list.
convert(Parameter, Class<T>, T) - Method in interface org.alweb.doff.util.ParameterConverter
Converts specified parameter to specified type with a default value.
convert(String) - Static method in class org.alweb.doff.util.PathUtilities
Converts the specified string to a path.
convert(String, char) - Static method in class org.alweb.doff.util.PathUtilities
Converts the specified string to a path using a delimiter.

D

Debugger - Class in org.alweb.doff.debug
Provides a Controller to display informations about mappings, filters and actions.
Debugger() - Constructor for class org.alweb.doff.debug.Debugger
 
DEFAULT_MAX_ITEM_COUNT_PER_PAGE - Static variable in class org.alweb.doff.util.Pagination
The default max item count per page.
Depends - Annotation Type in org.alweb.doff.annotation
Provides a way to specify dependencies between filters.
disableBrowserCache() - Method in class org.alweb.doff.core.Service
Tries to disables browser cache on current response.
disableDebugger() - Method in class org.alweb.doff.engine.Engine
Disables the debugger.
Dispatcher - Class in org.alweb.doff
Provides a way to render static resources from the path info (HttpServletRequest.getPathInfo()).
Dispatcher() - Constructor for class org.alweb.doff.Dispatcher
 
displayController(String) - Method in class org.alweb.doff.debug.Debugger
Displays details of a controller.
displayFilter(String) - Method in class org.alweb.doff.debug.Debugger
Displays details of a filter.
doEndTag() - Method in class org.alweb.doff.jsp.AbstractPaginationTag
 
doEndTag() - Method in class org.alweb.doff.jsp.AbstractURLTag
 
doEndTag() - Method in class org.alweb.doff.jsp.ArgTag
 
doEndTag() - Method in class org.alweb.doff.jsp.FullPaginationTag
 
doEndTag() - Method in class org.alweb.doff.jsp.MethodInputTag
 
doEndTag() - Method in class org.alweb.doff.jsp.PostLinkTag
 
doEndTag() - Method in class org.alweb.doff.jsp.PublicURLTag
 
doEndTag() - Method in class org.alweb.doff.jsp.SimplePaginationTag
 
doEndTag() - Method in class org.alweb.doff.jsp.StripTag
 
doEndTag() - Method in class org.alweb.doff.jsp.URLTag
 
Doff - Class in org.alweb.doff.util
Class used for displaying doff latest and current version displaying infos and downloading latest version.
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.alweb.doff.Dispatcher
 
doStartTag() - Method in class org.alweb.doff.jsp.AbstractURLTag
 
doStartTag() - Method in class org.alweb.doff.jsp.FullPaginationTag
 
doStartTag() - Method in class org.alweb.doff.jsp.MethodInputTag
 
doStartTag() - Method in class org.alweb.doff.jsp.PostLinkTag
 
doStartTag() - Method in class org.alweb.doff.jsp.PublicURLTag
 
doStartTag() - Method in class org.alweb.doff.jsp.SimplePaginationTag
 
doStartTag() - Method in class org.alweb.doff.jsp.StripTag
 

E

EMPTY_PARAMETER - Static variable in class org.alweb.doff.util.Parameter
Represents an empty parameter, with null as value.
enableDebugger() - Method in class org.alweb.doff.engine.Engine
Enable the debugger of the Engine.
encodeRedirectURL(String) - Method in class org.alweb.doff.core.Service
Invokes this method in order to obtain the redirect URL.
encodeRedirectURL(String, boolean) - Method in class org.alweb.doff.core.Service
Invokes this method in order to obtain the redirect URL.
encodeURL(String) - Method in class org.alweb.doff.core.Service
Invokes this method in order to obtain the encoded URL.
encodeURL(String, boolean) - Method in class org.alweb.doff.core.Service
Invokes this method in order to obtain the encoded URL.
Engine - Class in org.alweb.doff.engine
Represents the main engine of Doff.
Engine() - Constructor for class org.alweb.doff.engine.Engine
 
Engine.RequestParameters - Class in org.alweb.doff.engine
This class contains all informations about current request.
equals(Object) - Method in class org.alweb.doff.util.error.ErrorMessage
 
equals(Object) - Method in class org.alweb.doff.util.Parameter
 
ErrorContainer - Class in org.alweb.doff.util.error
Implements of interface ErrorProducer.
ErrorContainer() - Constructor for class org.alweb.doff.util.error.ErrorContainer
 
ErrorMessage - Class in org.alweb.doff.util.error
Represents an error message with optionnal parameters.
ErrorMessage(String, Object...) - Constructor for class org.alweb.doff.util.error.ErrorMessage
Constructs a new error message with the specified message as string format and optional parameters.
ErrorProducer - Interface in org.alweb.doff.util.error
Implementations of this interface are able to produce errors.
Escape - Class in org.alweb.doff.util
Utility class for escaping strings.
escapeJavascript(String) - Static method in class org.alweb.doff.jsp.Functions
Escape specified javascript string.
Exclude - Annotation Type in org.alweb.doff.annotation
Provides a way to exclude some controllers of Filter execution.
excludes(Class<? extends Filter>) - Method in class org.alweb.doff.mapping.ActionMapping
Determines if this action mapping excludes specified filter class.
Executable - Interface in org.alweb.doff.engine
Implementations of this interface are able to be into a ExecutionChain.
execute(ExecutionChain) - Method in class org.alweb.doff.core.Filter
Executes this filter with an ExecutionChain as parameter.
execute(ExecutionChain) - Method in class org.alweb.doff.engine.ActionLauncher
 
execute(ServletParameters) - Method in class org.alweb.doff.engine.Engine
Tries to execute the action and filters represented by current URL.
execute(ExecutionChain) - Method in interface org.alweb.doff.engine.Executable
Executes this object with the chain as parameter.
execute(ExecutionChain) - Method in class org.alweb.doff.engine.FilterLauncher
 
execute(ExecutionChain) - Method in class org.alweb.doff.util.AbstractHttpAuthenticationFilter
Executes the filter.
ExecuteIfNotFound - Annotation Type in org.alweb.doff.annotation
Provides a way to always execute Filter even if no controller or no controller's action matches current URL.
executeIfNotFound() - Method in class org.alweb.doff.mapping.FilterMapping
Determines if the Filter represented by this mapping is executed even if there is no controller or no controller's action matching current URL.
ExecutionChain - Class in org.alweb.doff.engine
Provides a way to execute services and actions in a specific order.
ExecutionChain() - Constructor for class org.alweb.doff.engine.ExecutionChain
Constructs a new ExecutionChain instance.
ExecutionChain(Collection<? extends Executable>) - Constructor for class org.alweb.doff.engine.ExecutionChain
Constructs a new ExecutionChain instance from specified Executable collection.
ExecutionChain(Executable...) - Constructor for class org.alweb.doff.engine.ExecutionChain
Constructs a new ExecutionChain instance from specified items.
exists() - Method in class org.alweb.doff.util.Parameter
Determines if this parameter exists (has a value).

F

FileUploadSizeException - Exception in org.alweb.doff.util
Thrown when an uploaded file request exceeds the limited size.
FileUploadSizeException(String) - Constructor for exception org.alweb.doff.util.FileUploadSizeException
Constructs an new FileUploadSizeException from the exception message.
Filter - Class in org.alweb.doff.core
Represents the superclass of all of your filters.
Filter() - Constructor for class org.alweb.doff.core.Filter
 
FilterEngine - Class in org.alweb.doff.engine
Provides a way to manage filter mappings.
FilterEngine() - Constructor for class org.alweb.doff.engine.FilterEngine
 
FilterLauncher - Class in org.alweb.doff.engine
This class allows filters to be executed.
FilterLauncher(Filter) - Constructor for class org.alweb.doff.engine.FilterLauncher
Creates a new launcher from the filter to execute.
FilterMapping - Class in org.alweb.doff.mapping
Provides a mapping for a Filter class.
FilterMapping(Class<? extends Filter>) - Constructor for class org.alweb.doff.mapping.FilterMapping
Constructs a new FilterMapping instance from a Filter class.
filters() - Method in class org.alweb.doff.debug.Debugger
Displays filter's list.
findAction(ServletParameters) - Method in class org.alweb.doff.engine.ControllerEngine
Tries to find the action into internal controller's list matching specified URL.
findAction(ServletParameters) - Method in class org.alweb.doff.mapping.ControllerMapping
Tries to find an action of this ControllerMapping object matching specified path.
findMappings(ActionMapping) - Method in class org.alweb.doff.engine.FilterEngine
Finds all filter mappings needed to be executed for specified action.
flash(String, Object) - Method in class org.alweb.doff.core.Service
This method sets an attribute into the session and then, into request in order to be displayed after a redirect.
format(ResourceBundle) - Method in class org.alweb.doff.util.error.ErrorMessage
Format this error message thanks to specified bundle.
formatText(String) - Static method in class org.alweb.doff.jsp.Functions
Returns text transformed into HTML using simple formatting rules.
forName(String, Class...) - Static method in class org.alweb.doff.mapping.ParameterMapping
Constructs a new collection of path parameters identified by specified name.
forwardRequest(String) - Method in class org.alweb.doff.core.Controller
This method has been overriden in order to assign controller's fields into request.
forwardRequest(String) - Method in class org.alweb.doff.core.Service
Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server.
FRAGMENTS_EXTENSION - Static variable in class org.alweb.doff.core.Service
The default fragments extension (.jspf).
FullPaginationTag - Class in org.alweb.doff.jsp
Represents a complete pagination tag, with page indices links.
FullPaginationTag() - Constructor for class org.alweb.doff.jsp.FullPaginationTag
 
Functions - Class in org.alweb.doff.jsp
Provides a function tag library for JSPs.

G

getAction() - Method in class org.alweb.doff.core.Service
Returns the action mapped by current URL or null if there is no action (or no controller) matching current URL.
getAction() - Method in class org.alweb.doff.engine.ActionLauncher
Returns the action's mapping specified at the constructor.
getAction() - Method in class org.alweb.doff.engine.Engine.RequestParameters
Returns the current action or null if there is no action matching current request.
getAction() - Method in class org.alweb.doff.jsp.AbstractURLTag
 
getAction(String) - Method in class org.alweb.doff.mapping.ControllerMapping
Returns the action identified by specified method name or null if there is no action with specified method name or if method's name is null.
getActions() - Method in class org.alweb.doff.mapping.ControllerMapping
Returns a unmodifiable collection of this ControllerMapping actions.
getActionURL() - Method in class org.alweb.doff.jsp.AbstractURLTag
Returns the action's URL from attributes.
getAllServiceMethodsWithAnnotation(Class<? extends Annotation>) - Method in class org.alweb.doff.mapping.ServiceMapping
Returns all methods (and superclasses methods) of this service class having specified annotation class.
getArgs() - Method in class org.alweb.doff.jsp.AbstractURLTag
 
getAssociatedObject() - Method in class org.alweb.doff.mapping.Mapping
Returns the associated object specified at the constructor.
getBoundLinkCount() - Method in class org.alweb.doff.jsp.FullPaginationTag
 
getCause() - Method in class org.alweb.doff.util.error.ErrorMessage
Returns the cause of this error or null if not specified.
getClasses() - Method in class org.alweb.doff.engine.ClassFinder
Returns a Collection of all classes located at this ClassLoader path.
getClasses(File) - Method in class org.alweb.doff.engine.ClassFinder
Returns a Collection of all classes located at the specified path.
getClassFinder() - Method in class org.alweb.doff.engine.Engine
Returns a ClassFinder instance or null if engine has not been initialized.
getClassName() - Method in class org.alweb.doff.mapping.ServiceMapping
A convenience helper to retrieve the class name of this mapping service class.
getCode() - Method in enum org.alweb.doff.http.Code
Returns the HTTP code as int format.
getComplete() - Method in class org.alweb.doff.jsp.AbstractURLTag
 
getComplete() - Method in class org.alweb.doff.jsp.PublicURLTag
 
getCompleteURL(boolean) - Method in class org.alweb.doff.core.Service
Returns the complete URL include host, port.
getCompleteURL(Class<? extends Controller>, String, Object...) - Method in class org.alweb.doff.core.Service
Returns the complete (with scheme and host) URL of the specified action.
getConfirm() - Method in class org.alweb.doff.jsp.PostLinkTag
 
getContextPath() - Method in class org.alweb.doff.core.Service
Returns the portion of the request URI that indicates the context of the request.
getController() - Method in class org.alweb.doff.engine.ActionLauncher
Returns the controller specified at the constructor.
getController() - Method in class org.alweb.doff.engine.Engine.RequestParameters
Returns the current controller or null if there is no action matching current request.
getController() - Method in class org.alweb.doff.jsp.AbstractURLTag
 
getControllerEngine() - Method in class org.alweb.doff.engine.Engine
Returns a ControllerEngine instance or null if engine has not been initialized.
getControllerMapping() - Method in class org.alweb.doff.engine.Engine.RequestParameters
Returns the current controller mapping or null if there is not action matching current request.
getControllerMapping() - Method in class org.alweb.doff.mapping.ActionMapping
Returns the controller mapping specified at the constructor.
getConverter() - Static method in class org.alweb.doff.util.Parameter
Returns the parameter converter.
getCookie(String) - Method in class org.alweb.doff.core.Service
A convenience helper to extract a cookie value as a Parameter.
getCookies() - Method in class org.alweb.doff.core.Service
Returns a Map containing all of the Cookie objects the client sent with this request.
getDebuggerMapping() - Method in class org.alweb.doff.engine.Engine
Returns the debugger mapping or null if debugger is disabled.
getDependencies() - Method in class org.alweb.doff.mapping.FilterMapping
Returns all dependencies of this Service internal class.
getErrors() - Method in class org.alweb.doff.core.Service
Returns all errors into the current request.
getErrors() - Method in class org.alweb.doff.util.error.ErrorContainer
Returns a collection of this object errors.
getErrors() - Method in interface org.alweb.doff.util.error.ErrorProducer
Returns a collection of all errors on this object.
getEscape() - Method in class org.alweb.doff.jsp.PublicURLTag
 
getEscape() - Method in class org.alweb.doff.jsp.URLTag
 
getExclusions() - Method in class org.alweb.doff.mapping.FilterMapping
Returns all exclusions applied to the Filter repesented by this mapping.
getFields() - Method in class org.alweb.doff.mapping.ControllerMapping
Returns a map of all fields of the mapped controllers.
getFileUpload() - Method in class org.alweb.doff.core.Service
Returns a unique FileUploadBase instance for handling file upload.
getFilterEngine() - Method in class org.alweb.doff.engine.Engine
Returns a FilterEngine instance or null if engine has not been initialized.
getFullPath(Object...) - Method in class org.alweb.doff.mapping.ActionMapping
Returns the full path of this ActionMapping including the controller path.
getHeader(Header) - Method in class org.alweb.doff.core.Service
Returns the value of the specified request header.
getHeader(String) - Method in class org.alweb.doff.core.Service
Returns the value of the specified request header.
getHeaders() - Method in class org.alweb.doff.core.Service
Returns a map of all the header names and value this request contains.
getHighIndex() - Method in class org.alweb.doff.util.Pagination
Returns the high item index on the current page.
getHost() - Method in class org.alweb.doff.core.Service
Returns the host specified into the current request.
getHttpMethod() - Method in class org.alweb.doff.mapping.ActionMapping
Returns the Method used by this ActionMapping object.
getIndices() - Method in class org.alweb.doff.util.Pagination
Returns an array of indices of items on current page.
getInstance() - Static method in class org.alweb.doff.engine.Engine
Returns an instance of this Engine class.
getItemCount() - Method in class org.alweb.doff.util.Pagination
Returns the item count specified at constructor on at setter.
getItemCountAtPage() - Method in class org.alweb.doff.util.Pagination
Returns the item count on the current page.
getKeepLines() - Method in class org.alweb.doff.jsp.StripTag
 
getLatestVersion() - Static method in class org.alweb.doff.util.Doff
Returns the latest doff version.
getLocale() - Method in class org.alweb.doff.core.Service
Returns the preferred Locale that the client will accept content in, based on the Accept-Language header.
getLowIndex() - Method in class org.alweb.doff.util.Pagination
Returns the low item index on the current page.
getMapping(Class<? extends Controller>) - Method in class org.alweb.doff.engine.ControllerEngine
Returns a ControllerMapping instance from the specified controller class or null if specified controller class is not registered or is null.
getMapping(String) - Method in class org.alweb.doff.engine.ControllerEngine
Returns a ControllerMapping instance from the specified controller's name or null if specified controller is not registered or if name is null.
getMapping(Class<? extends Filter>) - Method in class org.alweb.doff.engine.FilterEngine
Returns a FilterMapping instance from the specified filter class or null if specified filter class is not registered or is null.
getMapping(String) - Method in class org.alweb.doff.engine.FilterEngine
Returns a FilterMapping instance from the specified filter's name or null if specified filter is not registered or if name is null.
getMappings() - Method in class org.alweb.doff.engine.ControllerEngine
Returns an unmodifiable list of all registered mappings.
getMappings() - Method in class org.alweb.doff.engine.FilterEngine
Returns an unmodifiable list of all registered mappings.
getMaxItemCountPerPage() - Method in class org.alweb.doff.util.Pagination
Returns the max visible item count in a page.
getMaxVisiblePages() - Method in class org.alweb.doff.jsp.FullPaginationTag
 
getMessage() - Method in class org.alweb.doff.util.error.ErrorMessage
Returns the message specified at constructor.
getMethod() - Method in class org.alweb.doff.core.Service
Returns the current HTTP method.
getMethod() - Method in class org.alweb.doff.jsp.MethodInputTag
 
getMethod() - Method in class org.alweb.doff.jsp.PostLinkTag
 
getMethod() - Method in class org.alweb.doff.mapping.ActionMapping
Returns the method specified at the contructor.
getMethod() - Method in class org.alweb.doff.util.ServletParameters
Returns the HTTP method.
getMethodName() - Method in class org.alweb.doff.mapping.ActionMapping
A convenience helper to retrieve the name of the method.
getName() - Method in class org.alweb.doff.mapping.ActionMapping
Returns the name of this action mapping.
getName() - Method in class org.alweb.doff.mapping.QueryParameterMapping
Returns the name specified at contructor (trimmed).
getName(Class<? extends Service>) - Static method in class org.alweb.doff.mapping.ServiceMapping
Tries to obtain the name of the service from annotation or from the service's class name.
getName() - Method in class org.alweb.doff.mapping.ServiceMapping
Returns the name of this service mapping.
getNextText() - Method in class org.alweb.doff.jsp.AbstractPaginationTag
 
getOutputStream() - Method in class org.alweb.doff.core.Service
Returns a ServletOutputStream suitable for writing binary data in the response.
getPageCount() - Method in class org.alweb.doff.util.Pagination
Returns the page count of the pagination.
getPageIndex() - Method in class org.alweb.doff.util.Pagination
Returns the current page index.
getPagination() - Method in class org.alweb.doff.jsp.AbstractPaginationTag
 
getParam(String) - Method in class org.alweb.doff.core.Service
Returns the value of a request parameter.
getParameters() - Method in class org.alweb.doff.mapping.ActionMapping
Returns all mapped parameters of this action mapping.
getParametersValues(Controller) - Method in class org.alweb.doff.mapping.ActionMapping
Returns all parameters values as an object array.
getParamOrSessionAttr(String, String, T) - Method in class org.alweb.doff.core.Service
Returns the parameter of specified name with specified default value or load it from session if not exists.
getParamOrSessionAttr(String, T) - Method in class org.alweb.doff.core.Service
Returns the parameters of specified name with specified default value or load it from session if not exists.
getParams() - Method in class org.alweb.doff.core.Service
Returns a Map of parameters of a request.
getParams(String) - Method in class org.alweb.doff.core.Service
Returns a Collection of parameters of a request.
getParams() - Method in class org.alweb.doff.util.error.ErrorMessage
Returns a read-only collection of all parameters.
getPassword() - Method in class org.alweb.doff.util.AbstractHttpAuthenticationFilter
Returns the password sent by client browser.
getPath() - Method in class org.alweb.doff.mapping.ActionMapping
Returns the path specified by Action.path() annotation property or null if the Action identified by this ActionMapping is the controller's index.
getPath() - Method in class org.alweb.doff.mapping.ControllerMapping
Returns the path of this Mapping.
getPathInfo() - Method in class org.alweb.doff.core.Service
Returns any extra path information associated with current URL.
getPathInfo() - Method in class org.alweb.doff.util.ServletParameters
Returns the current path info of the request.
getPathInfoWithQueryString() - Method in class org.alweb.doff.core.Service
Returns the path info with the query string after if present.
getPathParam() - Method in class org.alweb.doff.core.Service
Returns the first variable part of the current path.
getPathParam(int) - Method in class org.alweb.doff.core.Service
Returns the variable part of the current path.
getPathParam(String, int) - Method in class org.alweb.doff.mapping.ActionMapping
Provides a way to retrieve a path param identified thanks to ${string}, ${int} or ${all} patterns.
getPathPatternCount() - Method in class org.alweb.doff.mapping.ActionMapping
Returns the count of path pattern of this ActionMapping object path.
getPattern() - Method in class org.alweb.doff.jsp.SimplePaginationTag
 
getPort() - Method in class org.alweb.doff.core.Service
Returns the port of the request, it can be 8080, 80, etc.
getPort() - Method in enum org.alweb.doff.http.Protocol
Returns the port of this protocol.
getPosition() - Method in class org.alweb.doff.mapping.PathParameterMapping
Returns the position specified at constructor.
getPreviousText() - Method in class org.alweb.doff.jsp.AbstractPaginationTag
 
getPrintIfEmpty() - Method in class org.alweb.doff.jsp.AbstractPaginationTag
 
getPromptMessage() - Method in class org.alweb.doff.util.AbstractHttpAuthenticationFilter
Returns the prompt message displayed to the client browser.
getProtocol() - Method in class org.alweb.doff.core.Service
Returns the current protocol of the request.
getProtocol(String) - Static method in enum org.alweb.doff.http.Protocol
Returns a protocol instance matching specified URL or null if specified URL doesn't match any known protocol.
getProtocol(URL) - Static method in enum org.alweb.doff.http.Protocol
Returns a protocol instance matching specified URL or null if specified URL doesn't match any known protocol.
getPublicPath() - Method in class org.alweb.doff.engine.Engine
Returns the path where public documents (stylesheets, javascript,...) are located.
getPublicURL(String) - Method in class org.alweb.doff.core.Service
Returns the public URL of specified path.
getQueryString() - Method in class org.alweb.doff.core.Service
Returns the query string or the empty string if missing.
getRemoteAddress() - Method in class org.alweb.doff.core.Service
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request.
getRequest() - Method in class org.alweb.doff.core.Service
Returns the current request.
getRequest() - Method in class org.alweb.doff.engine.Engine.RequestParameters
Returns the current HTTP request.
getRequest() - Method in class org.alweb.doff.util.ServletParameters
Returns the request.
getRequestAttribute(String) - Method in class org.alweb.doff.core.Service
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
getRequestParameters() - Method in class org.alweb.doff.engine.Engine
Returns the parameters of the current request.
getResponse() - Method in class org.alweb.doff.core.Service
Returns the current response.
getResponse() - Method in class org.alweb.doff.engine.Engine.RequestParameters
Returns the current HTTP response.
getResponse() - Method in class org.alweb.doff.util.ServletParameters
Returns the response.
getResponseLocale() - Method in class org.alweb.doff.core.Service
Returns the locale specified for this response using the Service.setLocale(Locale) method.
getRestrictions() - Method in class org.alweb.doff.mapping.FilterMapping
Returns all restrictions applied to the Filter repesented by this mapping.
getScheme() - Method in enum org.alweb.doff.http.Protocol
Returns the scheme of this protocol (example: http, https).
getService(ServletParameters, ActionMapping) - Method in class org.alweb.doff.mapping.ControllerMapping
Returns a new Controller instance of this Controller class (specified to the constructor).
getService(ServletParameters, ActionMapping) - Method in class org.alweb.doff.mapping.FilterMapping
Returns a new Filter instance of this FilterMapping class (specified to the constructor).
getService(ServletParameters, ActionMapping) - Method in class org.alweb.doff.mapping.ServiceMapping
Returns a new Service instance of this Mapping class (specified at the constructor).
getServiceClass() - Method in class org.alweb.doff.mapping.ControllerMapping
Returns the associated Controller class of this ControllerMapping object.
getServiceClass() - Method in class org.alweb.doff.mapping.FilterMapping
Returns the associated Filter class of this FilterMapping object.
getServiceClass() - Method in class org.alweb.doff.mapping.ServiceMapping
Returns the associated Service class of this mapping object.
getServiceMapping() - Method in class org.alweb.doff.core.Service
Returns the mapping of this service instance.
getServlet() - Method in class org.alweb.doff.core.Service
Returns the servlet associated to this Service object.
getServlet() - Method in class org.alweb.doff.util.ServletParameters
Returns the current servlet instance.
getServletPath() - Method in class org.alweb.doff.engine.Engine.RequestParameters
Returns the doff's Servlet path.
getSession() - Method in class org.alweb.doff.core.Service
Returns the current session associated with this request, or if the request does not have a session, creates one.
getSessionAttribute(String, T) - Method in class org.alweb.doff.core.Service
Returns the session attribute of specified name.
getSessionAttributeName(Class<? extends Service>, String) - Static method in class org.alweb.doff.core.Service
Provides a way to create a HttpSession attribute name.
getSimpleClassName() - Method in class org.alweb.doff.mapping.ServiceMapping
A convenience helper to retrieve the simple class name of this mapping service class.
getText() - Method in class org.alweb.doff.jsp.SimplePaginationTag
Returns the text from the pattern.
getTrim() - Method in class org.alweb.doff.jsp.StripTag
 
getType() - Method in class org.alweb.doff.mapping.ParameterMapping
Returns the type specified at constructor.
getUploadedFile() - Method in class org.alweb.doff.core.Service
A convenience helper to extract the unique uploaded file by the client browser.
getUploadedFile(String) - Method in class org.alweb.doff.core.Service
Returns a FileItem uploaded from the client browser or null if there is no file represented by the specified name.
getUploadedFiles() - Method in class org.alweb.doff.core.Service
Returns a map of uploaded files by the client browser.
getURL() - Method in class org.alweb.doff.core.Service
A convenience helper to retrieve the current relative URL with the servlet path but without path info and query string.
getURL(boolean) - Method in class org.alweb.doff.core.Service
A convenience helper to retrieve the current relative URL.
getURL(boolean, boolean, boolean, boolean) - Method in class org.alweb.doff.core.Service
Retrieves the current URL.
getURL(Class<? extends Controller>, String, Object...) - Method in class org.alweb.doff.core.Service
Returns the URL of the specified action.
getURL(int) - Method in class org.alweb.doff.jsp.AbstractPaginationTag
Returns the URL of specified page index.
getUrl() - Method in class org.alweb.doff.jsp.PostLinkTag
 
getURL(Object...) - Method in class org.alweb.doff.mapping.ActionMapping
Returns the relative URL of this ActionMapping object.
getUser() - Method in class org.alweb.doff.util.AbstractHttpAuthenticationFilter
Returns the user sent by client browser.
getValue() - Method in class org.alweb.doff.jsp.ArgTag
 
getValue() - Method in class org.alweb.doff.jsp.PublicURLTag
 
getValue(Controller) - Method in class org.alweb.doff.mapping.ParameterMapping
Returns the value of this parameter for specified controller.
getValue(Controller) - Method in class org.alweb.doff.mapping.PathParameterMapping
Returns the value of this parameter for specified controller.
getValue(Controller) - Method in class org.alweb.doff.mapping.QueryParameterMapping
Returns the value of this parameter for specified controller.
getVar() - Method in class org.alweb.doff.jsp.PublicURLTag
 
getVar() - Method in class org.alweb.doff.jsp.URLTag
 
getVersion() - Static method in class org.alweb.doff.util.Doff
Returns the current Doff's version.
getViewPath() - Method in class org.alweb.doff.mapping.ActionMapping
Returns the location of this ActionMapping view path.
getWriter() - Method in class org.alweb.doff.core.Service
Returns a PrintWriter object that can send character text to the client.

H

hasParam(String) - Method in class org.alweb.doff.core.Service
Determines whether a parameter exists.
hasParam() - Method in class org.alweb.doff.util.error.ErrorMessage
Determines if this error message has at least one parameter.
Header - Enum in org.alweb.doff.http
Represents the HTTP/1.1 headers.
HTMLHelper - Class in org.alweb.doff.util
Convenience helper to create XHTML tags.

I

images(String) - Method in class org.alweb.doff.debug.Debugger
Displays image specified by path parameter.
index() - Method in class org.alweb.doff.debug.Debugger
Redirects to the controller's action.
indexOf(Object) - Method in class org.alweb.doff.util.ParameterList
Searches for the first occurence of the given argument, testing for equality using the equals method.
init() - Method in class org.alweb.doff.core.Service
Method used to be overridden.
init() - Method in class org.alweb.doff.engine.Engine
Search Controller and Filter classes thanks to ClassFinder class and register them into ControllerEngine and FilterEngine.
init() - Method in class org.alweb.doff.Servlet
Initialize the Doff engine and if context parameter org.alweb.doff.debug exists, enables the debugger.
initialize(Service) - Static method in class org.alweb.doff.mapping.ServiceMapping
Initialize specified service (if not null).
is(Class<? extends Controller>, String) - Method in class org.alweb.doff.mapping.ActionMapping
Determines if this ActionMapping object is the action identified by specified Controller class and method name.
isAjaxRequest() - Method in class org.alweb.doff.core.Service
Determines if request is an Ajax request.
isCaseSensitive() - Method in class org.alweb.doff.mapping.ControllerMapping
Determines if this mapping path is case-sensitive or not.
isDebuggerEnabled() - Method in class org.alweb.doff.engine.Engine
Determines if debugger is currently enabled.
isEmpty() - Method in class org.alweb.doff.engine.ExecutionChain
Determines if this chain contains no more Executable items to run.
isEmpty() - Method in class org.alweb.doff.util.Pagination
Determines if this pagination doesn't contain any item.
isHttpsRequest() - Method in class org.alweb.doff.core.Service
Determines if current request is an HTTPS request.
isIndex() - Method in class org.alweb.doff.mapping.ActionMapping
Determines if the action represented by this mapping is the index of its controller.
isInErrorState() - Method in class org.alweb.doff.util.error.ErrorContainer
Determines if this object is in error state.
isLimited() - Method in class org.alweb.doff.jsp.FullPaginationTag
Determines if pagination is limited (there is more page indices than expected).
isLocalRequest() - Method in class org.alweb.doff.core.Service
Determines if the the remove address is a local address.
isRegistered(Class<? extends Controller>) - Method in class org.alweb.doff.engine.ControllerEngine
Determines if the specified controller class has been registered.
isRegistered(Class<? extends Filter>) - Method in class org.alweb.doff.engine.FilterEngine
Determines if the specified filter class has been registered.

J

javascript(String) - Method in class org.alweb.doff.debug.Debugger
Render a javascript file specified by path parameter.
javascript(String) - Static method in class org.alweb.doff.util.Escape
Escape specified javascript string.
join(Collection, String) - Static method in class org.alweb.doff.jsp.Functions
Joins items separated by specified delimiter.
joinArray(Object[], String) - Static method in class org.alweb.doff.jsp.Functions
Joins items separated by specified delimiter.

L

lastIndexOf(Object) - Method in class org.alweb.doff.util.ParameterList
Returns the index of the last occurrence of the specified object in this list.
login() - Method in class org.alweb.doff.util.AbstractHttpAuthenticationFilter
This method determines if the current user typed a valid login and password.

M

main(String...) - Static method in class org.alweb.doff.util.Doff
Entry point of the class.
Mapping - Class in org.alweb.doff.mapping
Superclass of all mappings.
Mapping(Object) - Constructor for class org.alweb.doff.mapping.Mapping
Creates a new Mapping instance from the associated object.
MappingException - Exception in org.alweb.doff.mapping
Thrown when a ServiceMapping is not possible/available or if an error occurs when parsing a mapped class.
MappingException(String) - Constructor for exception org.alweb.doff.mapping.MappingException
Constructs a new MappingException instance from the exception message.
MappingException(String, Throwable) - Constructor for exception org.alweb.doff.mapping.MappingException
Constructs a new MappingException instance from a message and a cause.
matches(ServletParameters) - Method in class org.alweb.doff.mapping.ActionMapping
Determines if this ActionMapping object matches specified servlet parameters.
matches(ServletParameters) - Method in class org.alweb.doff.mapping.ControllerMapping
Determines if this ControllerMapping object matches specified parameters.
matches(ActionMapping) - Method in class org.alweb.doff.mapping.FilterMapping
Determines if the Filter represented by this mapping needs to be executed when the specified action is executed.
Method - Enum in org.alweb.doff.http
Represents all known HTTP methods.
METHOD_PARAM_NAME - Static variable in class org.alweb.doff.util.ServletParameters
The parameter name to override request method (_method).
MethodInputTag - Class in org.alweb.doff.jsp
Creates an hidden input for forms that have an action's method different to POST.
MethodInputTag() - Constructor for class org.alweb.doff.jsp.MethodInputTag
 

N

Name - Annotation Type in org.alweb.doff.annotation
Provides an annotation to specify service's name.
needToPrint() - Method in class org.alweb.doff.jsp.AbstractPaginationTag
Determines if it is necessary to print the pagination.
next() - Method in class org.alweb.doff.engine.ExecutionChain
Runs the next executable item of the internal queue of this ExecutionChain instance.
now() - Static method in class org.alweb.doff.jsp.Functions
Returns the current date.

O

onFirstPage() - Method in class org.alweb.doff.util.Pagination
Determines if current page index is the first one.
onLastPage() - Method in class org.alweb.doff.util.Pagination
Determines if current page index is the last one.
OnlyFor - Annotation Type in org.alweb.doff.annotation
Provides a way to execute annotated filter only for specified controller's.
org.alweb.doff - package org.alweb.doff
 
org.alweb.doff.annotation - package org.alweb.doff.annotation
 
org.alweb.doff.core - package org.alweb.doff.core
 
org.alweb.doff.debug - package org.alweb.doff.debug
 
org.alweb.doff.engine - package org.alweb.doff.engine
 
org.alweb.doff.http - package org.alweb.doff.http
 
org.alweb.doff.jsp - package org.alweb.doff.jsp
 
org.alweb.doff.mapping - package org.alweb.doff.mapping
 
org.alweb.doff.util - package org.alweb.doff.util
 
org.alweb.doff.util.error - package org.alweb.doff.util.error
 

P

paginate(Collection) - Method in class org.alweb.doff.core.Service
Creates a new pagination object and set it into current request.
paginate(Collection, Integer) - Method in class org.alweb.doff.core.Service
Creates a new pagination object and set it into current request.Items count is determined from Collection.size() method.
paginate(Integer) - Method in class org.alweb.doff.core.Service
Creates a new pagination object and set it into current request.
paginate(Integer, Integer) - Method in class org.alweb.doff.core.Service
Creates a new pagination object and set it into current request.
Pagination - Class in org.alweb.doff.util
Provides an utility class to handle pagination.
Pagination(int) - Constructor for class org.alweb.doff.util.Pagination
Constructs a new pagination object from the count of items.
Pagination(Integer, Integer) - Constructor for class org.alweb.doff.util.Pagination
Constructs a new pagination object from the count of items and the max item count in a page.
Parameter - Class in org.alweb.doff.util
Represents an untyped parameter and provides a way to converts easily a string into primitive types.
Parameter(String) - Constructor for class org.alweb.doff.util.Parameter
Constructs a new parameter from its value.
ParameterConverter - Interface in org.alweb.doff.util
Provides an interface to convert parameters into any class.
ParameterList - Class in org.alweb.doff.util
Represents a List of Parameter.
ParameterList() - Constructor for class org.alweb.doff.util.ParameterList
 
ParameterMap - Class in org.alweb.doff.util
Represents a Map of Parameter.
ParameterMap() - Constructor for class org.alweb.doff.util.ParameterMap
 
ParameterMapping - Class in org.alweb.doff.mapping
Represents a mapping for a action's parameters.
ParameterMapping(Class) - Constructor for class org.alweb.doff.mapping.ParameterMapping
Constructs a new parameter mapping from its type.
PathParameterMapping - Class in org.alweb.doff.mapping
Represents a mapping for a path parameter.
PathParameterMapping(Class, int) - Constructor for class org.alweb.doff.mapping.PathParameterMapping
Constructs a new path parameter mapping for specified type at specified position.
PathUtilities - Class in org.alweb.doff.util
Provides some helpers for converting and cleaning paths.
PostLinkTag - Class in org.alweb.doff.jsp
JSP tag <doff:postlink>, creating javascript link using POST method.
PostLinkTag() - Constructor for class org.alweb.doff.jsp.PostLinkTag
 
print(Object...) - Method in class org.alweb.doff.core.Service
Prints specified objects on servlet output stream.
print(String, Object, Object...) - Method in class org.alweb.doff.jsp.AbstractPaginationTag
Prints an XHTML content tag.
printIndex(int) - Method in class org.alweb.doff.jsp.FullPaginationTag
Print specified index text (link or span).
printIndices() - Method in class org.alweb.doff.jsp.FullPaginationTag
Print all indices links.
println(Object...) - Method in class org.alweb.doff.core.Service
Prints specified objects on servlet output stream and a end of line delimiter after each object.
printNext() - Method in class org.alweb.doff.jsp.AbstractPaginationTag
Prints the next text (link or span).
printPrevious() - Method in class org.alweb.doff.jsp.AbstractPaginationTag
Prints the previous text (link or span).
printText() - Method in class org.alweb.doff.jsp.SimplePaginationTag
Print the text from the pattern.
Protocol - Enum in org.alweb.doff.http
Represents all servlets protocols.
PublicURLTag - Class in org.alweb.doff.jsp
This Tag returns the URL of public document (stylesheets, javascripts,...).
PublicURLTag() - Constructor for class org.alweb.doff.jsp.PublicURLTag
 

Q

QueryParameterMapping - Class in org.alweb.doff.mapping
Represents a mapping for a query parameter.
QueryParameterMapping(Class, String) - Constructor for class org.alweb.doff.mapping.QueryParameterMapping
Constructs a new query parameter mapping for specified type at specified position.

R

redirect(Class<? extends Controller>, String, Object...) - Method in class org.alweb.doff.core.Service
Redirect to the specified action.
redirect(String) - Method in class org.alweb.doff.core.Service
Invoke this when your doPost method is done with business logic, and therefore needs to redirect the user's browser to a result page accessed through a regular HTTP GET.
redirect(String, boolean) - Method in class org.alweb.doff.core.Service
Invoke this when your doPost method is done with business logic, and therefore needs to redirect the user's browser to a result page accessed through a regular HTTP GET.
redirect(URL) - Method in class org.alweb.doff.core.Service
Invoke this in order to redirect the user's browser to the specified URL.
redirectToPublic(String) - Method in class org.alweb.doff.core.Service
Makes a redirection to a public document.
register(Class) - Method in class org.alweb.doff.engine.ControllerEngine
Tries to register specified class as a controller.
register(Class) - Method in class org.alweb.doff.engine.FilterEngine
Tries to register specified class as a filter.
reload() - Method in class org.alweb.doff.debug.Debugger
Reloads the doff's engine or send a permission denied if reload is forbidden.
reload() - Method in class org.alweb.doff.engine.Engine
Reloads the doff's engine.
removeCookie(String) - Method in class org.alweb.doff.core.Service
Tries to remove the cookie identified by the specified name.
removeCookies(boolean) - Method in class org.alweb.doff.core.Service
Tries to remove all cookies currently stored on the user's browser.
removeSessionAttributes(String...) - Method in class org.alweb.doff.core.Service
Removes all attributes into the current user session.
renderFile(File) - Method in class org.alweb.doff.core.Service
Renders specified file to the output stream.
renderFile(File, String) - Method in class org.alweb.doff.core.Service
Renders specified file to the output stream.
renderFile(String) - Method in class org.alweb.doff.core.Service
Renders specified file to the output stream.
renderFile(String, String) - Method in class org.alweb.doff.core.Service
Renders specified file to the output stream.
renderFragment() - Method in class org.alweb.doff.core.Service
Invoke this to forward control to the view's JSP.
renderFragment(Class<? extends Controller>, String) - Method in class org.alweb.doff.core.Service
Invoke this to forward control to the view's JSP.
renderFragment(String) - Method in class org.alweb.doff.core.Service
Invoke this to forward control to the view's JSP.
renderFragment(String, String, String) - Method in class org.alweb.doff.core.Service
Invoke this to forward control to the view's JSP.
renderStream(InputStream) - Method in class org.alweb.doff.core.Service
Renders specified stream to the output buffer.
renderStream(InputStream, int) - Method in class org.alweb.doff.core.Service
Renders specified stream to the output buffer.
renderView() - Method in class org.alweb.doff.core.Service
Invoke this to forward control to the view's JSP.
renderView(Class<? extends Controller>, String) - Method in class org.alweb.doff.core.Service
Invoke this to forward control to the view's JSP.
renderView(String) - Method in class org.alweb.doff.core.Service
Invoke this to forward control to the view's JSP.
renderView(String, String, String) - Method in class org.alweb.doff.core.Service
Invoke this to forward control to the view's JSP.
responseContainsHeader(Header) - Method in class org.alweb.doff.core.Service
Determines if the current response contains specified header.
responseContainsHeader(String) - Method in class org.alweb.doff.core.Service
Determines if the current response contains specified header.

S

sendError(Code, String) - Method in class org.alweb.doff.core.Service
Sends an error response to the client using the specified status.
sendError(int, String) - Method in class org.alweb.doff.core.Service
Sends an error response to the client using the specified status.
sendError(String) - Method in class org.alweb.doff.core.Service
A convenience helper to send a 500 error (Code.INTERNAL_SERVER_ERROR) to the client browser.
sendNotFound() - Method in class org.alweb.doff.core.Service
Sends a 404 (Code.NOT_FOUND) error to the client's browser.
sendNotFound(ServletParameters) - Method in class org.alweb.doff.engine.Engine
Method called when an ActionMapping doesn't match current URL.
sendPermissionDenied() - Method in class org.alweb.doff.core.Service
Sends "Permission Denied" (403 HTTP code) to the client browser.
sendPermissionDenied() - Method in class org.alweb.doff.util.AbstractHttpAuthenticationFilter
Overrides this method in order to display a specific message when user is not logged in.
Service - Class in org.alweb.doff.core
Represents an interface to control and manage HTTP requests and responses easier.
Service() - Constructor for class org.alweb.doff.core.Service
 
service(HttpServletRequest, HttpServletResponse) - Method in class org.alweb.doff.Servlet
 
ServiceMapping - Class in org.alweb.doff.mapping
Represents a mapping for a specific Service class.
ServiceMapping(Class<? extends Service>) - Constructor for class org.alweb.doff.mapping.ServiceMapping
Constructs a new ServiceMapping instance from a Service class.
Servlet - Class in org.alweb.doff
Represents the main (and only) servlet of Doff application.
Servlet() - Constructor for class org.alweb.doff.Servlet
 
ServletParameters - Class in org.alweb.doff.util
A container for all servlet parameters (The HttpServlet, the HttpServletRequest, the HttpServletResponse) and the Method.
ServletParameters(HttpServlet, HttpServletRequest, HttpServletResponse) - Constructor for class org.alweb.doff.util.ServletParameters
Constructs a new ServletParameters instance from the servlet, the request, the response and the HTTP method.
setAction(String) - Method in class org.alweb.doff.jsp.AbstractURLTag
 
setArgs(String) - Method in class org.alweb.doff.jsp.AbstractURLTag
 
setBoundLinkCount(int) - Method in class org.alweb.doff.jsp.FullPaginationTag
 
setCause(Object) - Method in class org.alweb.doff.util.error.ErrorMessage
Sets the cause of this message.
setComplete(boolean) - Method in class org.alweb.doff.jsp.AbstractURLTag
 
setComplete(String) - Method in class org.alweb.doff.jsp.PublicURLTag
 
setConfirm(String) - Method in class org.alweb.doff.jsp.PostLinkTag
 
setContentType(String) - Method in class org.alweb.doff.core.Service
Sets the content type of the response being sent to the client, if the response has not been committed yet.
setController(String) - Method in class org.alweb.doff.jsp.AbstractURLTag
 
setConverter(ParameterConverter) - Static method in class org.alweb.doff.util.Parameter
Sets the parameter converter for the entire application.
setEscape(String) - Method in class org.alweb.doff.jsp.PublicURLTag
 
setEscape(String) - Method in class org.alweb.doff.jsp.URLTag
 
setExpires(Date) - Method in class org.alweb.doff.core.Service
Sets the expires header to specified date.
setHeader(Header, Object) - Method in class org.alweb.doff.core.Service
Sets a response header with the given enumeration and value.
setHeader(String, Object) - Method in class org.alweb.doff.core.Service
Sets a response header with the given name and value.
setItemCount(Integer) - Method in class org.alweb.doff.util.Pagination
Sets the item count of this pagination.
setKeepLines(boolean) - Method in class org.alweb.doff.jsp.StripTag
 
setLastModified(Date) - Method in class org.alweb.doff.core.Service
Sets the last modified header to specified date.
setLocale(Locale) - Method in class org.alweb.doff.core.Service
Sets the locale of the response, if the response has not been committed yet.
setMaxItemCountPerPage(Integer) - Method in class org.alweb.doff.util.Pagination
Sets the max visible item count in a page.
setMaxVisiblePages(int) - Method in class org.alweb.doff.jsp.FullPaginationTag
 
setMethod(String) - Method in class org.alweb.doff.jsp.MethodInputTag
 
setMethod(String) - Method in class org.alweb.doff.jsp.PostLinkTag
 
setNextText(String) - Method in class org.alweb.doff.jsp.AbstractPaginationTag
 
setOutputFilename(String) - Method in class org.alweb.doff.core.Service
Sets the filename of the output.
setOutputFilename(String, String) - Method in class org.alweb.doff.core.Service
Sets the filename of the output.
setPageIndex(Integer) - Method in class org.alweb.doff.util.Pagination
Sets the current page index.
setPagination(Pagination) - Method in class org.alweb.doff.jsp.AbstractPaginationTag
 
setPattern(String) - Method in class org.alweb.doff.jsp.SimplePaginationTag
 
setPreviousText(String) - Method in class org.alweb.doff.jsp.AbstractPaginationTag
 
setPrintIfEmpty(boolean) - Method in class org.alweb.doff.jsp.AbstractPaginationTag
 
setPublicPath(String) - Method in class org.alweb.doff.engine.Engine
Sets the path where public documents (stylesheets, javascripts,...) are located.
setRequestAttribute(String, Object) - Method in class org.alweb.doff.core.Service
A convenience helper to set an attribute into the current request.
setTrim(boolean) - Method in class org.alweb.doff.jsp.StripTag
 
setUrl(String) - Method in class org.alweb.doff.jsp.PostLinkTag
 
setValue(Object) - Method in class org.alweb.doff.jsp.ArgTag
 
setValue(String) - Method in class org.alweb.doff.jsp.PublicURLTag
 
setVar(String) - Method in class org.alweb.doff.jsp.PublicURLTag
 
setVar(String) - Method in class org.alweb.doff.jsp.URLTag
 
SimplePaginationTag - Class in org.alweb.doff.jsp
Represents a simple pagination tag, with only the next and previous links and a pattern.
SimplePaginationTag() - Constructor for class org.alweb.doff.jsp.SimplePaginationTag
 
size() - Method in class org.alweb.doff.engine.ExecutionChain
Returns the size of this chain.
StripTag - Class in org.alweb.doff.jsp
Provides a tag to clean white spaces into JSPs.
StripTag() - Constructor for class org.alweb.doff.jsp.StripTag
 
style() - Method in class org.alweb.doff.debug.Debugger
Display stylesheet.

T

tag(String, Object...) - Static method in class org.alweb.doff.util.HTMLHelper
Builds a HTML tag.
to(Class<T>) - Method in class org.alweb.doff.util.Parameter
Tries to converts this parameter to specified type with null as default value.
to(Class<T>, T) - Method in class org.alweb.doff.util.Parameter
Tries to converts this parameter to specified type with specified default value.
toBoolean() - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter value to a Boolean.
toBoolean(Boolean) - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter value to a Boolean.
toDate() - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter value as a Date.
toDate(DateFormat) - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter value as a Date.
toDate(DateFormat, Date) - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter value as a Date.
toDouble() - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter value as Double format.
toDouble(Double) - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter value as Double format.
toEnum(Class<T>) - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter value as an Enum.
toEnum(Class<T>, T) - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter value as an Enum.
toInt() - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter value as Integer format.
toInt(Integer) - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter value as Integer format.
toList() - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter as a List of parameter with those delimiters: ,; \t\n
toList(Class<T>) - Method in class org.alweb.doff.util.Parameter
Tries to converts this parameter to a list of specified elements type.
toList(Class<T>, String) - Method in class org.alweb.doff.util.Parameter
Tries to converts this parameter to a list of specified elements type with specified delimiters.
toList(String) - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter as a List of parameter with specified delimiters.
toLong() - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter value as Long format.
toLong(Long) - Method in class org.alweb.doff.util.Parameter
Tries to convert this parameter value as Long format.
toString() - Method in class org.alweb.doff.core.Service
Provides a string representation of this Service object.
toString() - Method in class org.alweb.doff.engine.ActionLauncher
Provides a string representation of this ActionLauncher object.
toString() - Method in class org.alweb.doff.engine.FilterLauncher
Provides a string representation of this launcher.
toString() - Method in enum org.alweb.doff.http.Header
Provides a string representation of this header.
toString() - Method in class org.alweb.doff.mapping.ActionMapping
Provides a string representation of this ActionMapping object.
toString() - Method in class org.alweb.doff.mapping.Mapping
Provides a string representation of this Mapping object.
toString() - Method in class org.alweb.doff.mapping.PathParameterMapping
Provides a string representation of this path parameter.
toString() - Method in class org.alweb.doff.mapping.QueryParameterMapping
Provides a string representation of this parameter.
toString() - Method in class org.alweb.doff.mapping.ServiceMapping
Provides a string representation of this ServiceMapping object.
toString() - Method in class org.alweb.doff.util.error.ErrorMessage
Provides a string representation of this error message.
toString() - Method in class org.alweb.doff.util.Parameter
Provides a string representation of this parameter.
toString(boolean) - Method in class org.alweb.doff.util.Parameter
Provides a string representation of this parameter.
toString(String) - Method in class org.alweb.doff.util.Parameter
Provides a String representation of this parameter.
toString(String, boolean) - Method in class org.alweb.doff.util.Parameter
Provides a string representation of this parameter.
toURL() - Method in class org.alweb.doff.util.Parameter
Tries to converts this parameter to an URL.
toURL(URL) - Method in class org.alweb.doff.util.Parameter
Tries to converts this parameter to an URL.
transform(URL) - Method in enum org.alweb.doff.http.Protocol
Transforms specified URL for this protocol.
transform(URL, int) - Method in enum org.alweb.doff.http.Protocol
Transforms specified URL for this protocol.
truncate(String, int, String) - Static method in class org.alweb.doff.jsp.Functions
Truncates the specified string to a shorter one.

U

URLPattern - Annotation Type in org.alweb.doff.annotation
Provides a way to customize the path of a Controller.
URLTag - Class in org.alweb.doff.jsp
This Tag returns the URL of a controller's action.
URLTag() - Constructor for class org.alweb.doff.jsp.URLTag
 

V

valueOf(String) - Static method in enum org.alweb.doff.http.Code
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.alweb.doff.http.Header
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.alweb.doff.http.Method
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.alweb.doff.http.Protocol
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.alweb.doff.http.Code
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.alweb.doff.http.Header
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.alweb.doff.http.Method
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.alweb.doff.http.Protocol
Returns an array containing the constants of this enum type, in the order they're declared.
VIEWS_EXTENSION - Static variable in class org.alweb.doff.core.Service
The default views extension (.jsp).
VIEWS_PATH - Static variable in class org.alweb.doff.core.Service
The default views path (/WEB-INF/views).

X

XHTML_1_0_STRICT_DOCTYPE - Static variable in class org.alweb.doff.util.HTMLHelper
Represents the XHTML 1.0 strict document type.
xml(String) - Static method in class org.alweb.doff.util.Escape
Escape specified xml string.

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