com.atlassian.plugins.rest.common.interceptor
Interface MethodInvocation


public interface MethodInvocation

Represents context information about a resource method invocation.

Since:
2.0

Method Summary
 com.sun.jersey.api.core.HttpContext getHttpContext()
           
 com.sun.jersey.api.model.AbstractResourceMethod getMethod()
           
 java.lang.Object[] getParameters()
          Get the objects that will passed into the method.
 java.lang.Object getResource()
           
 void invoke()
          Called to invoke the next interceptor in the chain
 

Method Detail

getResource

java.lang.Object getResource()
Returns:
the resource object upon which the method resides

getHttpContext

com.sun.jersey.api.core.HttpContext getHttpContext()
Returns:
the http context

getMethod

com.sun.jersey.api.model.AbstractResourceMethod getMethod()
Returns:
the method to be executed

getParameters

java.lang.Object[] getParameters()
Get the objects that will passed into the method. The array is mutable.

Returns:
An array of objects

invoke

void invoke()
            throws java.lang.IllegalAccessException,
                   java.lang.reflect.InvocationTargetException
Called to invoke the next interceptor in the chain

Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException


Copyright © 2014 Atlassian. All Rights Reserved.