package com.megatim.fdxconsultation.service.ifaces.abstracts;
|
|
import javax.annotation.security.PermitAll;
|
import javax.ws.rs.GET;
|
import javax.ws.rs.Path;
|
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 lenovo
|
*/
|
public interface AbstractFormModelIFaces<T> {
|
|
@PermitAll
|
@GET
|
@Produces({MediaType.APPLICATION_JSON})
|
@Path("/form-model")
|
Response getFormModel(@Context HttpHeaders headers);
|
|
@PermitAll
|
@GET
|
@Produces({MediaType.APPLICATION_JSON})
|
@Path("/form-model-update")
|
Response getFormModelUpdate(@Context HttpHeaders headers);
|
|
}
|