1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.seasar.cubby.routing.impl;
17
18 import java.util.Map;
19
20 import org.seasar.cubby.routing.InternalForwardInfo;
21 import org.seasar.cubby.routing.impl.PathResolverImpl.Routing;
22
23
24
25
26
27
28
29 class InternalForwardInfoImpl implements InternalForwardInfo {
30
31
32 private final String internalForwardPath;
33
34
35 private final String actionClassName;
36
37
38 private final String methodName;
39
40
41
42
43
44
45
46
47
48
49
50 public InternalForwardInfoImpl(final String internalForwardPath,
51 final Routing routing, final Map<String, String> uriParameters) {
52 this.internalForwardPath = internalForwardPath;
53 this.actionClassName = routing.getActionClass().getCanonicalName();
54 this.methodName = routing.getMethod().getName();
55 }
56
57
58
59
60 public String getInternalForwardPath() {
61 return internalForwardPath;
62 }
63
64
65
66
67 public String getActionClassName() {
68 return actionClassName;
69 }
70
71
72
73
74 public String getMethodName() {
75 return methodName;
76 }
77
78 }