# 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
  Description
  `ContentTypeHandler`
  ContentTypeHandlerManager.`getHandlerForRequest(jakarta.servlet.http.HttpServletRequest req)`
  Gets the handler for the request by looking at the request content type and extension
  `ContentTypeHandler`
  DefaultContentTypeHandlerManager.`getHandlerForRequest(jakarta.servlet.http.HttpServletRequest request)`
  Gets the handler for the request by looking at the request content type and extension
  `ContentTypeHandler`
  ContentTypeHandlerManager.`getHandlerForResponse(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)`
  Gets the handler for the response by looking at the extension of the request
  `ContentTypeHandler`
  DefaultContentTypeHandlerManager.`getHandlerForResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.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
  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