Class MissingRequestValueException

All Implemented Interfaces:
Serializable, ErrorResponse

public class MissingRequestValueException extends ServerWebInputException
ServerWebInputException subclass that indicates a missing request value such as a request header, cookie value, query parameter, etc.
Rossen Stoyanchev
See Also:
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Return the name of the missing value, e.g. the name of the missing request header, or cookie, etc.
    • getType

      public Class<?> getType()
      Return the target type the value is converted when present.
    • getLabel

      public String getLabel()
      Return a label that describes the request value, e.g. "request header", "cookie value", etc. Use this to create a custom message.