code: protected RequestPredicate acceptsTextHtml() {
  		return (serverRequest) -> {
  			try {
  				List<MediaType> acceptedMediaTypes = serverRequest.headers().accept();
  				acceptedMediaTypes.remove(MediaType.ALL);
  				MediaType.sortBySpecificityAndQuality(acceptedMediaTypes);
  				return acceptedMediaTypes.stream()
  						.anyMatch(MediaType.TEXT_HTML::isCompatibleWith);
  			}
docs: Predicate that checks whether the current request explicitly support
  {@code "text/html"} media type.
  <p>
  The "match-all" media type is not considered here.
  @return the request predicate