1 package com.atlassian.plugins.rest.common.interceptor;
2
3 import com.sun.jersey.api.model.AbstractResourceMethod;
4 import com.sun.jersey.api.core.HttpContext;
5
6 import java.lang.reflect.InvocationTargetException;
7
8
9
10
11
12
13 public interface MethodInvocation
14 {
15
16
17
18 Object getResource();
19
20
21
22
23 HttpContext getHttpContext();
24
25
26
27
28 AbstractResourceMethod getMethod();
29
30
31
32
33
34
35 Object[] getParameters();
36
37
38
39
40
41
42 void invoke() throws IllegalAccessException, InvocationTargetException;
43 }