Package org.apache.juneau.rest
Class RestOpInvoker
java.lang.Object
org.apache.juneau.rest.stats.MethodInvoker
org.apache.juneau.rest.RestOpInvoker
A specialized invoker for methods that are called during a servlet request.
See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRestOpInvoker(Method m, RestOpArg[] opArgs, MethodExecStats stats) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidinvoke(RestOpSession opSession) Invokes this method from the specifiedRestSession.Methods inherited from class org.apache.juneau.rest.stats.MethodInvoker
getDeclaringClass, getFullName, getStats, inner, invoke, invoke
-
Constructor Details
-
RestOpInvoker
Constructor.- Parameters:
m- The method being wrapped.opArgs- The parameter resolvers.stats- The instrumentor.
-
-
Method Details
-
invoke
Invokes this method from the specifiedRestSession.- Parameters:
opSession- The REST call.- Throws:
Throwable- If an error occurred during either parameter resolution or method invocation.
-