use of org.jboss.resteasy.spi.Dispatcher in project resteasy by resteasy.
the class MockDispatcherFactory method createDispatcher.
public static Dispatcher createDispatcher() {
Dispatcher dispatcher = new SynchronousDispatcher(new ResteasyProviderFactoryImpl());
ResteasyProviderFactory.setInstance(dispatcher.getProviderFactory());
RegisterBuiltin.register(dispatcher.getProviderFactory());
return dispatcher;
}
Aggregations