package org.jboss.resteasy.core;
import org.jboss.resteasy.spi.HttpRequest;
import org.jboss.resteasy.spi.HttpRequestPreprocessor;
import org.jboss.resteasy.spi.HttpResponse;
import org.jboss.resteasy.spi.Registry;
import org.jboss.resteasy.spi.ResteasyProviderFactory;
import javax.ws.rs.core.Response;
import java.util.Map;
Author: Bill Burke Version: $Revision: 1 $
/**
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
* @version $Revision: 1 $
*/
public interface Dispatcher
{
ResteasyProviderFactory getProviderFactory();
Registry getRegistry();
void invoke(HttpRequest in, HttpResponse response);
Response internalInvocation(HttpRequest request, HttpResponse response, Object entity);
void addHttpPreprocessor(HttpRequestPreprocessor httpPreprocessor);
Map<Class, Object> getDefaultContextObjects();
}