Esempio n. 1
0
 /**
  * Add consumed media types supported by the component.
  *
  * @param types consumed media types.
  * @return updated builder object.
  */
 public Builder consumes(String... types) {
   return consumes(MediaTypes.createFrom(types));
 }
Esempio n. 2
0
 /**
  * Add produced media types supported by the component.
  *
  * @param types produced media types.
  * @return updated builder object.
  */
 public Builder produces(String... types) {
   return produces(MediaTypes.createFrom(types));
 }