## Uses of Interface
org.apache.struts2.rest.handler.ContentTypeHandler

- Packages that use ContentTypeHandler
  Package | Description
  --- | ---
  org.apache.struts2.rest |
  org.apache.struts2.rest.handler |

- - ### Uses of ContentTypeHandler in org.apache.struts2.rest

    Methods in org.apache.struts2.rest that return ContentTypeHandler
    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

  - ### Uses of ContentTypeHandler in org.apache.struts2.rest.handler

    Classes in org.apache.struts2.rest.handler that implement ContentTypeHandler
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractContentTypeHandler`
    `class` | `FormUrlEncodedHandler` 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
    `class` | `HtmlHandler` Handles HTML content, usually just a simple passthrough to the framework
    `class` | `JacksonJsonHandler` Handles JSON content using jackson-lib
    `class` | `JacksonXmlHandler` Handles XML content using Jackson
    `class` | `JuneauXmlHandler` Handles XML content using Apache Juneau http://juneau.apache.org/#marshall.html
    `class` | `MultipartFormDataHandler` 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
    `class` | `XStreamHandler` Handles XML content

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.