class PluginToggleHandler implements WebServiceHandler {

    @Override
    public Eventual<HttpResponse> handle(HttpRequest request, HttpInterceptor.Context context) {
        return getCurrentOrPutNewState(request, context)
                .onError(cause -> handleErrors(cause, context));
    }

    public  PluginToggleHandler(List<NamedPlugin> plugins);

}