/*
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
*/
|
package com.megatim.fdxconsultation.service.ifaces.referentiel;
|
|
import com.megatim.reporting.adhoc.dto.ReportConfiguration;
|
import javax.ws.rs.POST;
|
import javax.ws.rs.Path;
|
import javax.ws.rs.PathParam;
|
import javax.ws.rs.Produces;
|
import javax.ws.rs.core.Context;
|
import javax.ws.rs.core.HttpHeaders;
|
import javax.ws.rs.core.MediaType;
|
import javax.ws.rs.core.Response;
|
|
/**
|
*
|
* @author ASUS
|
*/
|
public interface TestRS<U, ID> {
|
|
@POST
|
@Produces(MediaType.APPLICATION_OCTET_STREAM)
|
@Path("add-one/{id}")
|
public Response test(@Context HttpHeaders headers, @PathParam("id") String id, ReportConfiguration<U> reportConfiguration);
|
}
|