com.atlassian.confluence.xwork
Class HttpMethodValidationInterceptor

java.lang.Object
  extended by com.atlassian.confluence.setup.webwork.AbstractAwareInterceptor
      extended by com.atlassian.confluence.xwork.HttpMethodValidationInterceptor
All Implemented Interfaces:
com.opensymphony.xwork.interceptor.Interceptor

public class HttpMethodValidationInterceptor
extends AbstractAwareInterceptor

Interceptor that ensures that the action method gets executed within an HTTP request with the required HTTP method.

Since:
4.2

Constructor Summary
HttpMethodValidationInterceptor()
           
 
Method Summary
 String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
           
 
Methods inherited from class com.atlassian.confluence.setup.webwork.AbstractAwareInterceptor
destroy, getParameter, getUser, hasParameter, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpMethodValidationInterceptor

public HttpMethodValidationInterceptor()
Method Detail

intercept

public String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
                 throws Exception
Specified by:
intercept in interface com.opensymphony.xwork.interceptor.Interceptor
Specified by:
intercept in class AbstractAwareInterceptor
Throws:
Exception


Copyright © 2003–2015 Atlassian. All rights reserved.