@Path(value="customizers")
public class CustomizerService
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static CustomizerService |
INSTANCE |
Constructor and Description |
---|
CustomizerService() |
Modifier and Type | Method and Description |
---|---|
Customizer |
createTemplateCustomizer(java.lang.String printableName) |
MachineResponse |
deleteCustomizer(java.lang.String customizerName) |
java.util.List<Customizer> |
getCustomizersByPrintableName() |
java.util.List<Customizer> |
getCustomizersByPrintableName(java.lang.String printableName) |
javax.ws.rs.core.StreamingOutput |
renderImage(java.lang.String customizer,
int currentSlice) |
MachineResponse |
saveCustomizer(Customizer cusomizer) |
javax.ws.rs.core.StreamingOutput |
testRenderImage(Customizer customizer,
int currentSlice) |
public static CustomizerService INSTANCE
@PUT @Path(value="save") @Produces(value="application/json") @Consumes(value="application/json") public MachineResponse saveCustomizer(Customizer cusomizer)
@DELETE @Path(value="delete/{customizerName}") @Produces(value="application/json") public MachineResponse deleteCustomizer(@PathParam(value="customizerName") java.lang.String customizerName)
@GET @Path(value="list") @Produces(value="application/json") public java.util.List<Customizer> getCustomizersByPrintableName()
@GET @Path(value="getByPrintableName/{printableName}") @Produces(value="application/json") public java.util.List<Customizer> getCustomizersByPrintableName(@PathParam(value="printableName") java.lang.String printableName)
@GET @Path(value="createTemplateCustomizer/{printableName}") @Produces(value="application/json") public Customizer createTemplateCustomizer(@PathParam(value="printableName") java.lang.String printableName)
@GET @Path(value="renderSliceImage/{customizerName}/{currentSlice}") @Produces(value="image/png") public javax.ws.rs.core.StreamingOutput renderImage(@PathParam(value="customizerName") java.lang.String customizer, @PathParam(value="currentSlice") int currentSlice)
@GET @Path(value="testRenderSliceImage/{currentSlice}") @Produces(value="image/png") public javax.ws.rs.core.StreamingOutput testRenderImage(Customizer customizer, @PathParam(value="currentSlice") int currentSlice)