| Package | Description | 
|---|---|
| org.apache.struts2.rest | |
| org.apache.struts2.rest.handler | 
| Modifier and Type | Method and Description | 
|---|---|
| ContentTypeHandler | ContentTypeHandlerManager. getHandlerForRequest(javax.servlet.http.HttpServletRequest req)Gets the handler for the request by looking at the request content type and extension | 
| ContentTypeHandler | DefaultContentTypeHandlerManager. getHandlerForRequest(javax.servlet.http.HttpServletRequest request)Gets the handler for the request by looking at the request content type and extension | 
| ContentTypeHandler | ContentTypeHandlerManager. getHandlerForResponse(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse res)Gets the handler for the response by looking at the extension of the request | 
| ContentTypeHandler | DefaultContentTypeHandlerManager. getHandlerForResponse(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse res)Gets the handler for the response by looking at the extension of the request | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractContentTypeHandler | 
| class  | FormUrlEncodedHandlerHandles 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 | 
| class  | HtmlHandlerHandles HTML content, usually just a simple passthrough to the framework | 
| class  | JacksonJsonHandlerHandles JSON content using jackson-lib | 
| class  | JacksonXmlHandlerHandles XML content using Jackson | 
| class  | JuneauXmlHandlerHandles XML content using Apache Juneau
 http://juneau.apache.org/#marshall.html | 
| class  | MultipartFormDataHandlerHandles 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 | 
| class  | XStreamHandlerHandles XML content | 
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.