public class

PortletRequestMethodNotSupportedException

extends PortletException
java.lang.Object
   ↳ PortletException
     ↳ org.springframework.web.portlet.handler.PortletRequestMethodNotSupportedException

Class Overview

Exception thrown when a request handler does not support a specific request method.

Summary

Public Constructors
PortletRequestMethodNotSupportedException(String method)
Create a new PortletRequestMethodNotSupportedException.
PortletRequestMethodNotSupportedException(String method, String[] supportedMethods)
Create a new PortletRequestMethodNotSupportedException.
PortletRequestMethodNotSupportedException(String[] supportedMethods)
Create a new PortletRequestMethodNotSupportedException.
Public Methods
String getMethod()
Return the HTTP request method that caused the failure.
String[] getSupportedMethods()
Return the actually supported HTTP methods, if known.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PortletRequestMethodNotSupportedException (String method)

Create a new PortletRequestMethodNotSupportedException.

Parameters
method the unsupported HTTP request method

public PortletRequestMethodNotSupportedException (String method, String[] supportedMethods)

Create a new PortletRequestMethodNotSupportedException.

Parameters
method the unsupported HTTP request method
supportedMethods the actually supported HTTP methods

public PortletRequestMethodNotSupportedException (String[] supportedMethods)

Create a new PortletRequestMethodNotSupportedException.

Parameters
supportedMethods the actually supported HTTP methods

Public Methods

public String getMethod ()

Return the HTTP request method that caused the failure.

public String[] getSupportedMethods ()

Return the actually supported HTTP methods, if known.