Class RequestMethodNotSupportedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RequestMethodNotSupportedException
    extends java.lang.RuntimeException
    An exception that occurs when the incoming HttpServletRequest method is not supported by the ODataRequest.
    See Also:
    ODataHttpMethod, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RequestMethodNotSupportedException​(java.lang.String method, java.lang.Throwable cause)
      Constructor to create RequestMethodNotSupportedException
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMethod()
      Retrieves the Http method that came in the HttpServletRequest that's not supported by an ODataRequest
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

      • RequestMethodNotSupportedException

        public RequestMethodNotSupportedException​(java.lang.String method,
                                                  java.lang.Throwable cause)
        Constructor to create RequestMethodNotSupportedException
        Parameters:
        method - HttpServletRequest method
        cause - internal exception that was thrown
    • Method Detail

      • getMethod

        public java.lang.String getMethod()
        Retrieves the Http method that came in the HttpServletRequest that's not supported by an ODataRequest
        Returns:
        Method name that's not supported by ODataRequest