public class MethodActionExecutor extends AbstractActionExecutor
If the method has an additional last parameter of type
RemoteClientInfo, the details
of the control point client will be provided to the action method. You can use this
to get the client's address and request headers, and to provide extra response headers.
| Modifier and Type | Field and Description |
|---|---|
protected Method |
method |
outputArgumentAccessors| Constructor and Description |
|---|
MethodActionExecutor(Map<ActionArgument<LocalService>,StateVariableAccessor> outputArgumentAccessors,
Method method) |
MethodActionExecutor(Method method) |
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
createInputArgumentValues(ActionInvocation<LocalService> actionInvocation,
Method method) |
protected void |
execute(ActionInvocation<LocalService> actionInvocation,
Object serviceImpl) |
Method |
getMethod() |
protected boolean |
isUseOutputArgumentAccessors(ActionInvocation<LocalService> actionInvocation) |
execute, getOutputArgumentAccessors, readOutputArgumentValues, setOutputArgumentValueprotected Method method
public MethodActionExecutor(Method method)
public MethodActionExecutor(Map<ActionArgument<LocalService>,StateVariableAccessor> outputArgumentAccessors, Method method)
public Method getMethod()
protected void execute(ActionInvocation<LocalService> actionInvocation, Object serviceImpl) throws Exception
execute in class AbstractActionExecutorExceptionprotected boolean isUseOutputArgumentAccessors(ActionInvocation<LocalService> actionInvocation)
protected Object[] createInputArgumentValues(ActionInvocation<LocalService> actionInvocation, Method method) throws ActionException
ActionExceptionCopyright © 2023 jUPnP.org. All rights reserved.