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

A

apply(HttpServletRequest, HttpServletResponse, Object) - Method in class org.apache.struts2.rest.DefaultHttpHeaders
 
apply(HttpServletRequest, HttpServletResponse, Object) - Method in interface org.apache.struts2.rest.HttpHeaders
Applies the configured information to the response

C

CONTENT_TYPE - Static variable in class org.apache.struts2.rest.handler.FormUrlEncodedHandler
 
CONTENT_TYPE - Static variable in class org.apache.struts2.rest.handler.MultipartFormDataHandler
 
ContentTypeHandler - Interface in org.apache.struts2.rest.handler
Handles transferring content to and from objects for a specific content type
ContentTypeHandlerManager - Interface in org.apache.struts2.rest
Manages content type handlers
ContentTypeInterceptor - Class in org.apache.struts2.rest
Uses the content handler to apply the request body to the action
ContentTypeInterceptor() - Constructor for class org.apache.struts2.rest.ContentTypeInterceptor
 
createActionProxy(String, String, String, Map, boolean, boolean) - Method in class org.apache.struts2.rest.RestActionProxyFactory
 
createContinue() - Method in class org.apache.struts2.rest.RestActionSupport
By default, return continue.
createXStream() - Method in class org.apache.struts2.rest.handler.XStreamHandler
 

D

DefaultContentTypeHandlerManager - Class in org.apache.struts2.rest
Manages ContentTypeHandler instances and uses them to process results
DefaultContentTypeHandlerManager() - Constructor for class org.apache.struts2.rest.DefaultContentTypeHandlerManager
 
DefaultHttpHeaders - Class in org.apache.struts2.rest
Default implementation of rest info that uses fluent-style construction
DefaultHttpHeaders() - Constructor for class org.apache.struts2.rest.DefaultHttpHeaders
 
DefaultHttpHeaders(String) - Constructor for class org.apache.struts2.rest.DefaultHttpHeaders
 
destroy() - Method in class org.apache.struts2.rest.ContentTypeInterceptor
 
disableCaching() - Method in class org.apache.struts2.rest.DefaultHttpHeaders
 
doIntercept(ActionInvocation) - Method in class org.apache.struts2.rest.RestWorkflowInterceptor
Intercept ActionInvocation and processes the errors using the ContentTypeHandler appropriate for the request.

F

findExtension(String) - Method in interface org.apache.struts2.rest.ContentTypeHandlerManager
Finds the extension in the url
findExtension(String) - Method in class org.apache.struts2.rest.DefaultContentTypeHandlerManager
Finds the extension in the url
FormUrlEncodedHandler - Class in org.apache.struts2.rest.handler
Handles the default content type for requests that originate from a browser's HTML form content-type: application/x-www-form-urlencoded This handler is intended for requests only, not for responses http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4
FormUrlEncodedHandler() - Constructor for class org.apache.struts2.rest.handler.FormUrlEncodedHandler
 
fromObject(Object, String, Writer) - Method in interface org.apache.struts2.rest.handler.ContentTypeHandler
Writes content to the stream
fromObject(Object, String, Writer) - Method in class org.apache.struts2.rest.handler.FormUrlEncodedHandler
 
fromObject(Object, String, Writer) - Method in class org.apache.struts2.rest.handler.HtmlHandler
 
fromObject(Object, String, Writer) - Method in class org.apache.struts2.rest.handler.JsonLibHandler
 
fromObject(Object, String, Writer) - Method in class org.apache.struts2.rest.handler.MultipartFormDataHandler
 
fromObject(Object, String, Writer) - Method in class org.apache.struts2.rest.handler.XStreamHandler
 

G

getContentType() - Method in interface org.apache.struts2.rest.handler.ContentTypeHandler
Gets the content type for this handler
getContentType() - Method in class org.apache.struts2.rest.handler.FormUrlEncodedHandler
 
getContentType() - Method in class org.apache.struts2.rest.handler.HtmlHandler
 
getContentType() - Method in class org.apache.struts2.rest.handler.JsonLibHandler
 
getContentType() - Method in class org.apache.struts2.rest.handler.MultipartFormDataHandler
 
getContentType() - Method in class org.apache.struts2.rest.handler.XStreamHandler
 
getExtension() - Method in interface org.apache.struts2.rest.handler.ContentTypeHandler
Gets the extension this handler supports
getExtension() - Method in class org.apache.struts2.rest.handler.FormUrlEncodedHandler
The extension is not used by this handler
getExtension() - Method in class org.apache.struts2.rest.handler.HtmlHandler
 
getExtension() - Method in class org.apache.struts2.rest.handler.JsonLibHandler
 
getExtension() - Method in class org.apache.struts2.rest.handler.MultipartFormDataHandler
The extension is not used by this handler
getExtension() - Method in class org.apache.struts2.rest.handler.XStreamHandler
 
getHandlerForRequest(HttpServletRequest) - Method in interface org.apache.struts2.rest.ContentTypeHandlerManager
Gets the handler for the request by looking at the request content type and extension
getHandlerForRequest(HttpServletRequest) - Method in class org.apache.struts2.rest.DefaultContentTypeHandlerManager
Gets the handler for the request by looking at the request content type and extension
getHandlerForResponse(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.struts2.rest.ContentTypeHandlerManager
Gets the handler for the response by looking at the extension of the request
getHandlerForResponse(HttpServletRequest, HttpServletResponse) - Method in class org.apache.struts2.rest.DefaultContentTypeHandlerManager
Gets the handler for the response by looking at the extension of the request
getIdParameterName() - Method in class org.apache.struts2.rest.RestActionMapper
 
getMapping(HttpServletRequest, ConfigurationManager) - Method in class org.apache.struts2.rest.RestActionMapper
 
getResultCode() - Method in class org.apache.struts2.rest.DefaultHttpHeaders
 
getResultCode() - Method in interface org.apache.struts2.rest.HttpHeaders
The result code to process
getStatus() - Method in class org.apache.struts2.rest.DefaultHttpHeaders
 
getStatus() - Method in interface org.apache.struts2.rest.HttpHeaders
The HTTP status code

H

handleResult(ActionConfig, Object, Object) - Method in interface org.apache.struts2.rest.ContentTypeHandlerManager
Handles the result using handlers to generate content type-specific content
handleResult(ActionConfig, Object, Object) - Method in class org.apache.struts2.rest.DefaultContentTypeHandlerManager
Handles the result using handlers to generate content type-specific content
hasErrors - Variable in class org.apache.struts2.rest.RestActionInvocation
 
HtmlHandler - Class in org.apache.struts2.rest.handler
Handles HTML content, usually just a simple passthrough to the framework
HtmlHandler() - Constructor for class org.apache.struts2.rest.handler.HtmlHandler
 
HTTP_METHOD_PARAM - Static variable in class org.apache.struts2.rest.RestActionMapper
 
HttpHeaders - Interface in org.apache.struts2.rest
Type-safe rest-related informtion to apply to a response
httpHeaders - Variable in class org.apache.struts2.rest.RestActionInvocation
 

I

index() - Method in class org.apache.struts2.rest.RestActionSupport
Default execution.
init() - Method in class org.apache.struts2.rest.ContentTypeInterceptor
 
intercept(ActionInvocation) - Method in class org.apache.struts2.rest.ContentTypeInterceptor
 
invoke() - Method in class org.apache.struts2.rest.RestActionInvocation
 
invokeAction(Object, ActionConfig) - Method in class org.apache.struts2.rest.RestActionInvocation
 
isDelete(HttpServletRequest) - Method in class org.apache.struts2.rest.RestActionMapper
 
isExpectContinue(HttpServletRequest) - Method in class org.apache.struts2.rest.RestActionMapper
 
isFirstInterceptor - Variable in class org.apache.struts2.rest.RestActionInvocation
 
isGet(HttpServletRequest) - Method in class org.apache.struts2.rest.RestActionMapper
 
isOptions(HttpServletRequest) - Method in class org.apache.struts2.rest.RestActionMapper
 
isPost(HttpServletRequest) - Method in class org.apache.struts2.rest.RestActionMapper
 
isPut(HttpServletRequest) - Method in class org.apache.struts2.rest.RestActionMapper
 

J

JsonLibHandler - Class in org.apache.struts2.rest.handler
Handles JSON content using json-lib
JsonLibHandler() - Constructor for class org.apache.struts2.rest.handler.JsonLibHandler
 

L

lastModified(Date) - Method in class org.apache.struts2.rest.DefaultHttpHeaders
 
LOG - Static variable in class org.apache.struts2.rest.RestActionMapper
 

M

MultipartFormDataHandler - Class in org.apache.struts2.rest.handler
Handles the default content type for requests that originate from a browser's HTML form with a file upload and multipart/from-data encoding content-type: multipart/form-data This handler is intended for requests only, not for responses http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4
MultipartFormDataHandler() - Constructor for class org.apache.struts2.rest.handler.MultipartFormDataHandler
 

N

namespace - Variable in class org.apache.struts2.rest.RestActionProxyFactory
 

O

options() - Method in class org.apache.struts2.rest.RestActionSupport
Inspect the implemented methods to know the allowed http methods.
org.apache.struts2.rest - package org.apache.struts2.rest
 
org.apache.struts2.rest.handler - package org.apache.struts2.rest.handler
 

P

parseNameAndNamespace(String, ActionMapping, ConfigurationManager) - Method in class org.apache.struts2.rest.RestActionMapper
Parses the name and namespace from the uri.
processResult() - Method in class org.apache.struts2.rest.RestActionInvocation
 

R

renderResult(String) - Method in class org.apache.struts2.rest.DefaultHttpHeaders
 
RestActionInvocation - Class in org.apache.struts2.rest
Extends the usual ActionInvocation to add support for processing the object returned from the action execution.
RestActionInvocation(Map, boolean) - Constructor for class org.apache.struts2.rest.RestActionInvocation
 
RestActionMapper - Class in org.apache.struts2.rest
This Restful action mapper enforces Ruby-On-Rails Rest-style mappings.
RestActionMapper() - Constructor for class org.apache.struts2.rest.RestActionMapper
 
RestActionProxyFactory - Class in org.apache.struts2.rest
Factory that creates the RestActionInvocation
RestActionProxyFactory() - Constructor for class org.apache.struts2.rest.RestActionProxyFactory
 
RestActionSupport - Class in org.apache.struts2.rest
Extends ActionSupport to provides a default implementation of the index method that can be invoked for unknown actions by the UnknownHandler.
RestActionSupport() - Constructor for class org.apache.struts2.rest.RestActionSupport
 
RestWorkflowInterceptor - Class in org.apache.struts2.rest
An interceptor that makes sure there are not validation errors before allowing the interceptor chain to continue.
RestWorkflowInterceptor() - Constructor for class org.apache.struts2.rest.RestWorkflowInterceptor
 

S

saveResult(ActionConfig, Object) - Method in class org.apache.struts2.rest.RestActionInvocation
Save the result to be used later.
selectTarget() - Method in class org.apache.struts2.rest.RestActionInvocation
 
setAllowDynamicMethodCalls(String) - Method in class org.apache.struts2.rest.RestActionMapper
 
setContainer(Container) - Method in class org.apache.struts2.rest.DefaultContentTypeHandlerManager
 
setContentTypeHandlerManager(ContentTypeHandlerManager) - Method in class org.apache.struts2.rest.RestWorkflowInterceptor
 
setContentTypeHandlerSelector(ContentTypeHandlerManager) - Method in class org.apache.struts2.rest.ContentTypeInterceptor
 
setDefaultErrorResultName(String) - Method in class org.apache.struts2.rest.RestActionInvocation
 
setDefaultExtension(String) - Method in class org.apache.struts2.rest.DefaultContentTypeHandlerManager
 
setDeleteMethodName(String) - Method in class org.apache.struts2.rest.RestActionMapper
 
setEditMethodName(String) - Method in class org.apache.struts2.rest.RestActionMapper
 
setEditMethodName(String) - Method in class org.apache.struts2.rest.RestWorkflowInterceptor
 
setGetMethodName(String) - Method in class org.apache.struts2.rest.RestActionMapper
 
setIdParameterName(String) - Method in class org.apache.struts2.rest.RestActionMapper
 
setIndexMethodName(String) - Method in class org.apache.struts2.rest.RestActionMapper
 
setInputResultName(String) - Method in class org.apache.struts2.rest.RestWorkflowInterceptor
Set the inputResultName (result name to be returned when a action / field error is found registered).
setLocation(String) - Method in class org.apache.struts2.rest.DefaultHttpHeaders
 
setLocationId(Object) - Method in class org.apache.struts2.rest.DefaultHttpHeaders
 
setLogger(String) - Method in class org.apache.struts2.rest.RestActionInvocation
 
setMimeTypeHandlerSelector(ContentTypeHandlerManager) - Method in class org.apache.struts2.rest.RestActionInvocation
 
setNamespace(String) - Method in class org.apache.struts2.rest.RestActionProxyFactory
 
setNewMethodName(String) - Method in class org.apache.struts2.rest.RestActionMapper
 
setNewMethodName(String) - Method in class org.apache.struts2.rest.RestWorkflowInterceptor
 
setOptionsMethodName(String) - Method in class org.apache.struts2.rest.RestActionMapper
 
setPostContinueMethodName(String) - Method in class org.apache.struts2.rest.RestActionMapper
 
setPostMethodName(String) - Method in class org.apache.struts2.rest.RestActionMapper
 
setPostMethodName(String) - Method in class org.apache.struts2.rest.RestWorkflowInterceptor
 
setPutContinueMethodName(String) - Method in class org.apache.struts2.rest.RestActionMapper
 
setPutMethodName(String) - Method in class org.apache.struts2.rest.RestActionMapper
 
setPutMethodName(String) - Method in class org.apache.struts2.rest.RestWorkflowInterceptor
 
setStatus(int) - Method in class org.apache.struts2.rest.DefaultHttpHeaders
 
setStatus(int) - Method in interface org.apache.struts2.rest.HttpHeaders
The HTTP status code
setValidationFailureStatusCode(String) - Method in class org.apache.struts2.rest.RestWorkflowInterceptor
 
STRUTS_REST_HANDLER_OVERRIDE_PREFIX - Static variable in interface org.apache.struts2.rest.ContentTypeHandlerManager
 
STRUTS_REST_NAMESPACE - Static variable in class org.apache.struts2.rest.RestActionProxyFactory
 

T

target - Variable in class org.apache.struts2.rest.RestActionInvocation
 
toObject(Reader, Object) - Method in interface org.apache.struts2.rest.handler.ContentTypeHandler
Populates an object using data from the input stream
toObject(Reader, Object) - Method in class org.apache.struts2.rest.handler.FormUrlEncodedHandler
No transformation is required as the framework handles this data
toObject(Reader, Object) - Method in class org.apache.struts2.rest.handler.HtmlHandler
 
toObject(Reader, Object) - Method in class org.apache.struts2.rest.handler.JsonLibHandler
 
toObject(Reader, Object) - Method in class org.apache.struts2.rest.handler.MultipartFormDataHandler
No transformation is required as the framework handles this data
toObject(Reader, Object) - Method in class org.apache.struts2.rest.handler.XStreamHandler
 

U

updateContinue() - Method in class org.apache.struts2.rest.RestActionSupport
By default, return continue.

W

withETag(Object) - Method in class org.apache.struts2.rest.DefaultHttpHeaders
 
withNoETag() - Method in class org.apache.struts2.rest.DefaultHttpHeaders
 
withStatus(int) - Method in class org.apache.struts2.rest.DefaultHttpHeaders
 

X

XStreamHandler - Class in org.apache.struts2.rest.handler
Handles XML content
XStreamHandler() - Constructor for class org.apache.struts2.rest.handler.XStreamHandler
 

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

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