eventcallback/src/main/java/com/byoutline/eventcallback/EventCallback.java
private void informSharedSuccessHandlers(S result) {
        if (result == null) {
            // no handler matches undefined result class
            return;
        }
        for (Map.Entry<Class, SuccessHandler> handler : config.sharedSuccessHandlers.entrySet()) {
            if (handler.getKey().isAssignableFrom(result.getClass())) {
                handler.getValue().onCallSuccess(result);
            }
        }
    }
private void informSharedSuccessHandlers(S result) {
        if (result == null) {
            // no handler matches undefined result class
            return;
        }
        for (Map.Entry<Class, SuccessHandler> handler : config.sharedSuccessHandlers.entrySet()) {
            if (handler.getKey().isAssignableFrom(result.getClass())) {
                handler.getValue().onCallSuccess(result);
            }
        }
    }
Passes result to {@link SuccessHandler}s from {@link Callback}

@param result response from the server that should be passed to listeners