Uses of Interface
com.google.sitebricks.http.negotiate.ContentNegotiator

Packages that use ContentNegotiator
com.google.sitebricks.http.negotiate   
 

Uses of ContentNegotiator in com.google.sitebricks.http.negotiate
 

Classes in com.google.sitebricks.http.negotiate that implement ContentNegotiator
 class RegexNegotiator
          ContentNegotiator that supports one regex match value, for example @Accept("(xml|text)/.*") will match any incoming request with an HTTP Accept header "text/*" and @Referer("(google|yahoo|bing)\\.com") will match requests with HTTP Referer headers from google, yahoo, or bing
 class WildcardNegotiator
          ContentNegotiator that supports comma separated and wildcard matches in Accept header style for example, @Accept("text/html, text/plain") will match an incoming request with HTTP Accept header "text/*" and @Accept("text/*") will match incoming request with headers "Accept: text/html" or "Accept: text/plain" Notes: Wildcard for subtypes such as "text/*, image/*" are supported but there is no wildcard matching on the main media types.
 



Copyright © 2014. All rights reserved.