@Path(value="items") public class ItemsCreator extends Object
| Constructor and Description |
|---|
ItemsCreator() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createFileItem(String id,
String name,
String description,
InputStream stream,
org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail) |
javax.ws.rs.core.Response |
createItem(String id,
String type,
String name,
String description) |
@POST
@Consumes(value="application/x-www-form-urlencoded")
@Produces(value="application/json")
@Path(value="/{id}/create/FOLDER")
public javax.ws.rs.core.Response createItem(@PathParam(value="id")
String id,
@PathParam(value="type")
String type,
@QueryParam(value="name")
String name,
@QueryParam(value="description")
String description)
@POST
@Consumes(value="multipart/form-data")
@Produces(value="application/json")
@Path(value="/{id}/create/FILE")
public javax.ws.rs.core.Response createFileItem(@PathParam(value="id")
String id,
String name,
String description,
InputStream stream,
org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail)
Copyright © 2018. All Rights Reserved.