org.jboss.resteasy.core.request

## Class ServerDrivenNegotiation

- java.lang.Object
- - org.jboss.resteasy.core.request.ServerDrivenNegotiation

-     public class ServerDrivenNegotiation
      extends Object

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServerDrivenNegotiation()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2014. All Rights Reserved.