org.jboss.resteasy.core
Class ExtensionHttpPreprocessor

java.lang.Object
  extended by org.jboss.resteasy.core.ExtensionHttpPreprocessor
All Implemented Interfaces:
HttpRequestPreprocessor

public class ExtensionHttpPreprocessor
extends java.lang.Object
implements HttpRequestPreprocessor


Field Summary
 java.util.Map<java.lang.String,java.lang.String> languageMappings
           
 java.util.Map<java.lang.String,MediaType> mediaTypeMappings
           
 
Constructor Summary
ExtensionHttpPreprocessor()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getLanguageMappings()
           
 java.util.Map<java.lang.String,MediaType> getMediaTypeMappings()
           
 void preProcess(HttpRequest in)
           
 void setLanguageMappings(java.util.Map<java.lang.String,java.lang.String> languageMappings)
           
 void setMediaTypeMappings(java.util.Map<java.lang.String,MediaType> mediaTypeMappings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mediaTypeMappings

public java.util.Map<java.lang.String,MediaType> mediaTypeMappings

languageMappings

public java.util.Map<java.lang.String,java.lang.String> languageMappings
Constructor Detail

ExtensionHttpPreprocessor

public ExtensionHttpPreprocessor()
Method Detail

setMediaTypeMappings

public void setMediaTypeMappings(java.util.Map<java.lang.String,MediaType> mediaTypeMappings)

setLanguageMappings

public void setLanguageMappings(java.util.Map<java.lang.String,java.lang.String> languageMappings)

getMediaTypeMappings

public java.util.Map<java.lang.String,MediaType> getMediaTypeMappings()

getLanguageMappings

public java.util.Map<java.lang.String,java.lang.String> getLanguageMappings()

preProcess

public void preProcess(HttpRequest in)
Specified by:
preProcess in interface HttpRequestPreprocessor


Copyright © 2010. All Rights Reserved.