A C E F G H I L M N O P R S V

A

Action - Interface in org.apache.struts2
Default action interface.
ActionContext - Interface in org.apache.struts2.spi
Context of an action execution.
add(Messages.Severity, String) - Method in interface org.apache.struts2.Messages
Adds message.
add(Messages.Severity, String, String...) - Method in interface org.apache.struts2.Messages
Adds request-scoped message.
addError(String) - Method in interface org.apache.struts2.Messages
Adds error message.
addError(String, String...) - Method in interface org.apache.struts2.Messages
Adds error message.
addInformation(String) - Method in interface org.apache.struts2.Messages
Adds informational message.
addInformation(String, String...) - Method in interface org.apache.struts2.Messages
Adds informational message.
addResultInterceptor(Result) - Method in interface org.apache.struts2.spi.ActionContext
Adds a result interceptor for the action.
addWarning(String) - Method in interface org.apache.struts2.Messages
Adds warning message.
addWarning(String, String...) - Method in interface org.apache.struts2.Messages
Adds warning message.

C

clone() - Method in interface org.apache.struts2.spi.ValueStack
Creates a shallow copy of this stack.

E

ERROR - Static variable in class org.apache.struts2.ResultNames
The action execution failed irrecoverably.
execute() - Method in interface org.apache.struts2.Action
Executes this action.
execute(RequestContext) - Method in interface org.apache.struts2.spi.Result
Executes result.

F

findCookiesForName(String) - Method in interface org.apache.struts2.spi.RequestContext
Finds cookies with the given name,
forField(String) - Method in interface org.apache.struts2.Messages
Gets nested messages for the given field.
forFields() - Method in interface org.apache.struts2.Messages
Gets map of field name to messages for that field.
forSeverity(Messages.Severity) - Method in interface org.apache.struts2.Messages
Gets message strings for the given severity.

G

get(String) - Method in interface org.apache.struts2.spi.ValueStack
Queries the stack.
get(String, Class<T>) - Method in interface org.apache.struts2.spi.ValueStack
Queries the stack and converts the result to the specified type.
getAction() - Method in interface org.apache.struts2.spi.ActionContext
Gets action instance.
getAction() - Method in interface org.apache.struts2.spi.RequestContext
Convenience method. Equivalent to getActionContext().getAction().
getActionContext() - Method in interface org.apache.struts2.spi.RequestContext
Gets context of the currently executing action.
getActionName() - Method in interface org.apache.struts2.spi.ActionContext
Gets action name.
getApplicationMap() - Method in interface org.apache.struts2.spi.RequestContext
Gets map of application (servlet context) attributes.
getAttributeMap() - Method in interface org.apache.struts2.spi.RequestContext
Gets map of request attributes.
getErrors() - Method in interface org.apache.struts2.Messages
Gets error message strings for this Messages instance.
getInformation() - Method in interface org.apache.struts2.Messages
Gets informational message strings for this Messages instance.
getLocale() - Method in interface org.apache.struts2.spi.RequestContext
Gets locale.
getMessages() - Method in interface org.apache.struts2.spi.RequestContext
Gets messages.
getMethod() - Method in interface org.apache.struts2.spi.ActionContext
Gets action method.
getNamespacePath() - Method in interface org.apache.struts2.spi.ActionContext
Gets the path for the action's namespace.
getNext() - Method in interface org.apache.struts2.spi.ActionContext
Gets context of action which this action chained to.
getParameterMap() - Method in interface org.apache.struts2.spi.RequestContext
Gets map of request parameters.
getPrevious() - Method in interface org.apache.struts2.spi.ActionContext
Gets context of action which chained to us.
getResult() - Method in interface org.apache.struts2.spi.ActionContext
Gets the Result instance for the action.
getServletContext() - Method in interface org.apache.struts2.spi.RequestContext
Gets the servlet context.
getServletRequest() - Method in interface org.apache.struts2.spi.RequestContext
Gets the servlet request.
getServletResponse() - Method in interface org.apache.struts2.spi.RequestContext
Gets the servlet response.
getSessionMap() - Method in interface org.apache.struts2.spi.RequestContext
Gets map of session attributes.
getSeverities() - Method in interface org.apache.struts2.Messages
Gets set of severities for which this Messages instance has messages.
getString(String) - Method in interface org.apache.struts2.spi.ValueStack
Queries the stack and converts the result to a String.
getValueStack() - Method in interface org.apache.struts2.spi.RequestContext
Gets the value stack.
getWarnings() - Method in interface org.apache.struts2.Messages
Gets error message strings for this Messages instance.

H

hasErrors() - Method in interface org.apache.struts2.Messages
Returns true if this or a nested Messages instance has error messages.
hasInformation() - Method in interface org.apache.struts2.Messages
Returns true if this or a nested Messages instance has informational messages.
hasWarnings() - Method in interface org.apache.struts2.Messages
Returns true if this or a nested Messages instance has warning messages.

I

INPUT - Static variable in class org.apache.struts2.ResultNames
The action requires more input, i.e. a validation error occurred.
intercept(RequestContext) - Method in interface org.apache.struts2.spi.Interceptor
Intercepts an action request.
Interceptor - Interface in org.apache.struts2.spi
Intercepts an action request.
isEmpty() - Method in interface org.apache.struts2.Messages
Returns true if this and all nested Messages instances have no messages.
isEmpty(Messages.Severity) - Method in interface org.apache.struts2.Messages
Returns true if this and all nested Messages instances have no messages for the given severity.

L

LOGIN - Static variable in class org.apache.struts2.ResultNames
The action requires the user to log in before executing.

M

MessageAware - Interface in org.apache.struts2
Implemented by actions which may need to record errors or messages.
Messages - Interface in org.apache.struts2
Collection of messages.
Messages.Severity - Enum in org.apache.struts2
Message severity.

N

NONE - Static variable in class org.apache.struts2.ResultNames
The action executed successfully, but do not execute a result.

O

org.apache.struts2 - package org.apache.struts2
 
org.apache.struts2.servlet - package org.apache.struts2.servlet
 
org.apache.struts2.spi - package org.apache.struts2.spi
 

P

ParameterAware - Interface in org.apache.struts2.servlet
Implemented by actions which need direct access to the request parameters.
peek() - Method in interface org.apache.struts2.spi.ValueStack
Gets the top, most recent object from the stack without changing the stack.
pop() - Method in interface org.apache.struts2.spi.ValueStack
Removes the top, most recent object from the stack.
proceed() - Method in interface org.apache.struts2.spi.RequestContext
Invokes the next interceptor or the action method if no more interceptors remain.
push(Object) - Method in interface org.apache.struts2.spi.ValueStack
Pushes an object onto the stack.

R

RequestContext - Interface in org.apache.struts2.spi
Request context.
RequestContextAware - Interface in org.apache.struts2.spi
Implemented by actions that need access to the current RequestContext.
Result - Interface in org.apache.struts2.spi
The result of an action request.
ResultNames - Class in org.apache.struts2
Commonly used result names returned by action methods.

S

ServletRequestAware - Interface in org.apache.struts2.servlet
Implemented by actions which need direct access to the servlet request.
ServletResponseAware - Interface in org.apache.struts2.servlet
Implemented by actions which need direct access to the servlet response.
set(String, Object) - Method in interface org.apache.struts2.spi.ValueStack
Sets a value on an object from the stack.
setLocale(Locale) - Method in interface org.apache.struts2.spi.RequestContext
Sets locale.
setMessages(Messages) - Method in interface org.apache.struts2.MessageAware
Sets messages.
setParameters(Map<String, String[]>) - Method in interface org.apache.struts2.servlet.ParameterAware
Sets parameters.
setRequestContext(RequestContext) - Method in interface org.apache.struts2.spi.RequestContextAware
Sets RequestContext.
setServletRequest(HttpServletRequest) - Method in interface org.apache.struts2.servlet.ServletRequestAware
Sets the servlet request.
setServletResponse(HttpServletResponse) - Method in interface org.apache.struts2.servlet.ServletResponseAware
Sets the servlet response.
size() - Method in interface org.apache.struts2.spi.ValueStack
Returns the number of object on the stack.
SUCCESS - Static variable in class org.apache.struts2.ResultNames
The action executed successfully.

V

Validatable - Interface in org.apache.struts2
Implemented by actions which wish to execute some validation logic before their action method.
validate() - Method in interface org.apache.struts2.Validatable
Validates input.
valueOf(String) - Static method in enum org.apache.struts2.Messages.Severity
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.struts2.Messages.Severity
Returns an array containing the constants of this enum type, in the order they're declared.
ValueStack - Interface in org.apache.struts2.spi
A central fixture of the Struts framework, the ValueStack is a stack which contains the actions which have executed in addition to other objects.

A C E F G H I L M N O P R S V

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.