org.jboss.resteasy.core.request
Class ServerDrivenNegotiation

java.lang.Object
  extended by org.jboss.resteasy.core.request.ServerDrivenNegotiation

public class ServerDrivenNegotiation
extends Object

Variant selection.

Author:
Pascal S. de Kloe
See Also:
"RFC 2296"

Constructor Summary
ServerDrivenNegotiation()
           
 
Method Summary
 Variant getBestMatch(List<Variant> available)
           
 void setAcceptCharsetHeaders(List<String> headerValues)
           
 void setAcceptEncodingHeaders(List<String> headerValues)
           
 void setAcceptHeaders(List<String> headerValues)
           
 void setAcceptLanguageHeaders(List<String> headerValues)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerDrivenNegotiation

public ServerDrivenNegotiation()
Method Detail

setAcceptHeaders

public void setAcceptHeaders(List<String> headerValues)

setAcceptCharsetHeaders

public void setAcceptCharsetHeaders(List<String> headerValues)

setAcceptEncodingHeaders

public void setAcceptEncodingHeaders(List<String> headerValues)

setAcceptLanguageHeaders

public void setAcceptLanguageHeaders(List<String> headerValues)

getBestMatch

public Variant getBestMatch(List<Variant> available)


Copyright © 2011. All Rights Reserved.