com.ibm.wsspi.rest.handler.helper

Class RESTHandlerMethodNotAllowedError

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • com.ibm.wsspi.rest.handler.helper.RESTHandlerMethodNotAllowedError
  • All Implemented Interfaces:
    java.io.Serializable


    public class RESTHandlerMethodNotAllowedError
    extends java.lang.RuntimeException
    This error is thrown by the RESTHandlerContainer when a particular HTTP method is not allowed.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getAllowedMethods() 
      int getStatusCode() 
      • 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

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

      • RESTHandlerMethodNotAllowedError

        public RESTHandlerMethodNotAllowedError(java.lang.String allowedMethods)
    • Method Detail

      • getStatusCode

        public int getStatusCode()
      • getAllowedMethods

        public java.lang.String getAllowedMethods()