org.jboss.resteasy.core
Interface Dispatcher

All Known Implementing Classes:
AsynchronousDispatcher, SynchronousDispatcher

public interface Dispatcher

Version:
$Revision: 1 $
Author:
Bill Burke

Method Summary
 void addHttpPreprocessor(HttpRequestPreprocessor httpPreprocessor)
           
 Map<Class,Object> getDefaultContextObjects()
           
 Map<String,String> getLanguageMappings()
           
 Map<String,MediaType> getMediaTypeMappings()
           
 ResteasyProviderFactory getProviderFactory()
           
 Registry getRegistry()
           
 Response internalInvocation(HttpRequest request, HttpResponse response, Object entity)
           
 void invoke(HttpRequest in, HttpResponse response)
           
 void setLanguageMappings(Map<String,String> languageMappings)
           
 void setMediaTypeMappings(Map<String,MediaType> mediaTypeMappings)
           
 

Method Detail

getProviderFactory

ResteasyProviderFactory getProviderFactory()

getRegistry

Registry getRegistry()

setMediaTypeMappings

void setMediaTypeMappings(Map<String,MediaType> mediaTypeMappings)

setLanguageMappings

void setLanguageMappings(Map<String,String> languageMappings)

getMediaTypeMappings

Map<String,MediaType> getMediaTypeMappings()

getLanguageMappings

Map<String,String> getLanguageMappings()

invoke

void invoke(HttpRequest in,
            HttpResponse response)

internalInvocation

Response internalInvocation(HttpRequest request,
                            HttpResponse response,
                            Object entity)

addHttpPreprocessor

void addHttpPreprocessor(HttpRequestPreprocessor httpPreprocessor)

getDefaultContextObjects

Map<Class,Object> getDefaultContextObjects()


Copyright © 2011. All Rights Reserved.