org.apache.shindig.protocol
Interface HandlerRegistry
- All Known Implementing Classes:
- DefaultHandlerRegistry
public interface HandlerRegistry
Registry of REST and RPC handlers for the set of available services
addHandlers
void addHandlers(Set<Object> handlers)
- Add a set of handlers to the registry
- Parameters:
handlers -
getRpcHandler
RpcHandler getRpcHandler(org.json.JSONObject rpc)
- Parameters:
rpc - The rpc to dispatch
- Returns:
- the handler
getRestHandler
RestHandler getRestHandler(String path,
String method)
- Parameters:
path - Path of the servicemethod - The HTTP method
- Returns:
- the handler
getSupportedRestServices
Set<String> getSupportedRestServices()
- Returns:
- The list of available services
getSupportedRpcServices
Set<String> getSupportedRpcServices()
- Returns:
- The list of available services
Copyright © 2007-2012. All Rights Reserved.