Code example for Supplier

Methods: get

0
      this.dateProvider = dateProvider;
   } 
 
   @Override 
   public HttpRequest filter(HttpRequest request) throws HttpException {
      return request.toBuilder().replaceQueryParam("now", dateProvider.get().getTime() + "").build();
   } 
 
} 
Connect your IDE to all the code out there  Get Codota for Java