All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cerner.beadledom.resteasy.ResteasyGenericResponseBuilderFactory Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
package com.cerner.beadledom.resteasy;

import com.cerner.beadledom.jaxrs.GenericResponseBuilder;
import com.cerner.beadledom.jaxrs.GenericResponseBuilderFactory;
import java.lang.annotation.Annotation;

/**
 * An implementation of {@link GenericResponseBuilderFactory} for Resteasy.
 *
 * @author John Leacox
 * @since 1.3
 */
public class ResteasyGenericResponseBuilderFactory extends GenericResponseBuilderFactory {
  /**
   * Creates a new instance of {@link ResteasyGenericResponseBuilderFactory}.
   *
   * 

This default constructor is required for use with {@link java.util.ServiceLoader}. */ public ResteasyGenericResponseBuilderFactory() { } @Override public GenericResponseBuilder create(int status) { return ResteasyGenericResponseBuilder.create(status); } @Override public GenericResponseBuilder create(int status, T body) { return ResteasyGenericResponseBuilder.create(status, body); } @Override public GenericResponseBuilder create(int status, T body, Annotation[] annotations) { return ResteasyGenericResponseBuilder.create(status, body, annotations); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy