public class PortletRequestMethodNotSupportedException extends PortletException
Constructor and Description |
---|
PortletRequestMethodNotSupportedException(String method)
Create a new PortletRequestMethodNotSupportedException.
|
PortletRequestMethodNotSupportedException(String[] supportedMethods)
Create a new PortletRequestMethodNotSupportedException.
|
PortletRequestMethodNotSupportedException(String method,
String[] supportedMethods)
Create a new PortletRequestMethodNotSupportedException.
|
Modifier and Type | Method and Description |
---|---|
String |
getMethod()
Return the HTTP request method that caused the failure.
|
String[] |
getSupportedMethods()
Return the actually supported HTTP methods, if known.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PortletRequestMethodNotSupportedException(String method)
method
- the unsupported HTTP request methodpublic PortletRequestMethodNotSupportedException(String method, String[] supportedMethods)
method
- the unsupported HTTP request methodsupportedMethods
- the actually supported HTTP methodspublic PortletRequestMethodNotSupportedException(String[] supportedMethods)
supportedMethods
- the actually supported HTTP methods