Class RESTHandlerMethodNotAllowedError

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

public class RESTHandlerMethodNotAllowedError extends RuntimeException
This error is thrown by the RESTHandlerContainer when a particular HTTP method is not allowed.
See Also:
  • Constructor Details

    • RESTHandlerMethodNotAllowedError

      public RESTHandlerMethodNotAllowedError(String allowedMethods)
  • Method Details

    • getStatusCode

      public int getStatusCode()
    • getAllowedMethods

      public String getAllowedMethods()