Class JakartaServletRequestContext

java.lang.Object
org.apache.commons.fileupload2.core.AbstractRequestContext<HttpServletRequest>
org.apache.commons.fileupload2.jakarta.servlet5.JakartaServletRequestContext
All Implemented Interfaces:
RequestContext

Provides access to the request information needed for a request made to an HTTP servlet.
  • Constructor Details

  • Method Details

    • getCharacterEncoding

      Gets the character encoding for the request.
      Returns:
      The character encoding for the request.
    • getContentType

      Gets the content type of the request.
      Returns:
      The content type of the request.
    • getInputStream

      Gets the input stream for the request.
      Returns:
      The input stream for the request.
      Throws:
      IOException - if a problem occurs.