org.atmosphere.wasync.impl
Class DefaultFunctionResolver
java.lang.Object
org.atmosphere.wasync.impl.DefaultFunctionResolver
- All Implemented Interfaces:
- FunctionResolver
public class DefaultFunctionResolver
- extends Object
- implements FunctionResolver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFunctionResolver
public DefaultFunctionResolver()
resolve
public boolean resolve(String message,
Object functionName,
FunctionWrapper fn)
- Description copied from interface:
FunctionResolver
- Resolve the current message with
- Specified by:
resolve in interface FunctionResolver
- Parameters:
message - the original response's body receivedfunctionName - the default function name taken from Function.MESSAGEfn - The current FunctionWrapper
- Returns:
- true if the
Function can be invoked.
Copyright © 2013. All Rights Reserved.