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 Details

    • ServerDrivenNegotiation

      public ServerDrivenNegotiation()
  • Method Details

    • 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 jakarta.ws.rs.core.Variant getBestMatch(List<jakarta.ws.rs.core.Variant> available)