Class Request

All Implemented Interfaces:
Operation, OperationBuilder

public abstract class Request extends HttpOperation
Responsible for performing actions on the current HttpServletRequest
Author:
Christian Kaltepoth
  • Constructor Details

    • Request

      public Request()
  • Method Details

    • setCharacterEncoding

      public static Request setCharacterEncoding(String encoding)
      Creates an HttpOperation that calls ServletRequest.setCharacterEncoding(String) on the current request.
      Parameters:
      encoding - The encoding to apply
    • setCharacterEncoding

      public static Request setCharacterEncoding(Charset charset)
      Creates an HttpOperation that calls ServletRequest.setCharacterEncoding(String) on the current request.
      Parameters:
      charset - The character set to apply
    • setAttribute

      public static Request setAttribute(String name, Object value)
      Creates an HttpOperation that calls ServletRequest.setAttribute(String, Object) on the current request.
      Parameters:
      name - The name of the request attribute
      value - The value to set