19 lines
459 B
Java
19 lines
459 B
Java
package de.hsos.swa.ma.api.al;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import javax.ws.rs.GET;
|
|
import javax.ws.rs.Path;
|
|
import javax.ws.rs.Produces;
|
|
import javax.ws.rs.core.MediaType;
|
|
|
|
public interface ISearch {
|
|
|
|
@GET
|
|
@Produces (MediaType.APPLICATION_JSON)
|
|
@Path("search/getrecipesall")
|
|
public ArrayList<Mocktail> getRecipesAll();
|
|
//public Mocktail[] showRecipesByName(/*@PathParam */String name);
|
|
//public Mocktail[] showRecipesById(int id);
|
|
|
|
} |