org.springframework.web.bind

Class MissingRequestCookieException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getCookieName()
      Return the expected name of the request cookie.
      java.lang.String getMessage()
      Return the detail message, including the message from the nested exception if there is one.
      MethodParameter getParameter()
      Return the method parameter bound to the request cookie.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MissingRequestCookieException

        public MissingRequestCookieException(java.lang.String cookieName,
                                             MethodParameter parameter)
        Constructor for MissingRequestCookieException.
        Parameters:
        cookieName - the name of the missing request cookie
        parameter - the method parameter
    • Method Detail

      • getCookieName

        public final java.lang.String getCookieName()
        Return the expected name of the request cookie.
      • getParameter

        public final MethodParameter getParameter()
        Return the method parameter bound to the request cookie.