2012-08-12 09:59:47 +00:00
|
|
|
package net.brutex.xservices.ws.rs;
|
|
|
|
|
|
|
|
|
|
import javax.ws.rs.DefaultValue;
|
|
|
|
|
import javax.ws.rs.GET;
|
|
|
|
|
import javax.ws.rs.Path;
|
|
|
|
|
import javax.ws.rs.Produces;
|
|
|
|
|
import javax.ws.rs.QueryParam;
|
|
|
|
|
import javax.ws.rs.core.Context;
|
|
|
|
|
import javax.ws.rs.core.HttpHeaders;
|
|
|
|
|
import javax.ws.rs.core.Response;
|
|
|
|
|
|
|
|
|
|
@Path("/FileService/")
|
2013-02-05 14:34:01 +00:00
|
|
|
@Produces({"application/xml"})
|
|
|
|
|
public abstract interface FileInfo
|
|
|
|
|
{
|
|
|
|
|
@GET
|
|
|
|
|
@Path("getFiles/")
|
|
|
|
|
public abstract Response getFiles(@Context HttpHeaders paramHttpHeaders, @QueryParam("directory") String paramString1, @QueryParam("includeDirectories") @DefaultValue("0") boolean paramBoolean1, @QueryParam("includeFiles") @DefaultValue("1") boolean paramBoolean2, @QueryParam("depth") @DefaultValue("1") int paramInt1, @QueryParam("search") String paramString2, @QueryParam("itemsPerPage") @DefaultValue("50") int paramInt2, @QueryParam("page") @DefaultValue("1") int paramInt3);
|
2012-08-12 09:59:47 +00:00
|
|
|
}
|
|
|
|
|
|