class ResponseBuilderImpl extends ResponseBuilder implements Cloneable {

    public Response build() {
        if (entity == null && !statusSet) {
            status = 204;
        }
        ResponseImpl r = new ResponseImpl(status, null, reasonPhrase);
        MetadataMap<String, Object> m =
            new MetadataMap<>(metadata, false, true);
        r.addMetadata(m);
        r.setEntity(entity, annotations);
        reset();
        return r;
    }

    public  ResponseBuilderImpl();
    private  ResponseBuilderImpl(ResponseBuilderImpl copy);

}