public static final String DELETE = "delete";\r
public static final String LIST = "list";\r
\r
- public abstract String getPath();\r
-\r
//FIXME retrieve client type from configuration\r
final static ClientType CLIENT_TYPE = ServiceMain.getInstance().getClientType();\r
\r
protected Response create(MultipartInput input, ServiceContext<MultipartInput, MultipartOutput> ctx) {\r
try {\r
DocumentHandler handler = createDocumentHandler(ctx);\r
- UriBuilder path = UriBuilder.fromPath(getPath());//UriBuilder.fromResource(this.getClass());\r
+ UriBuilder path = UriBuilder.fromResource(this.getClass());\r
return create(input, ctx, handler, path); //==> CALL implementation method, which subclasses may override.\r
} catch (Exception e) {\r
throw bigReThrow(e, ServiceMessages.CREATE_FAILED);\r