public class PortletRequestMethodNotSupportedException extends PortletException
| Constructor and Description |
|---|
PortletRequestMethodNotSupportedException(java.lang.String method)
Create a new PortletRequestMethodNotSupportedException.
|
PortletRequestMethodNotSupportedException(java.lang.String[] supportedMethods)
Create a new PortletRequestMethodNotSupportedException.
|
PortletRequestMethodNotSupportedException(java.lang.String method,
java.lang.String[] supportedMethods)
Create a new PortletRequestMethodNotSupportedException.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMethod()
Return the HTTP request method that caused the failure.
|
java.lang.String[] |
getSupportedMethods()
Return the actually supported HTTP methods, if known.
|
public PortletRequestMethodNotSupportedException(java.lang.String method)
method - the unsupported HTTP request methodpublic PortletRequestMethodNotSupportedException(java.lang.String method,
java.lang.String[] supportedMethods)
method - the unsupported HTTP request methodsupportedMethods - the actually supported HTTP methodspublic PortletRequestMethodNotSupportedException(java.lang.String[] supportedMethods)
supportedMethods - the actually supported HTTP methods