Class FileService

All Implemented Interfaces:
AdapterResource, Resource, Adaptable

public class FileService extends DefaultAdapter
File Service - manages attachments to a document.

Accepts the following methods:

  • GET - get the attached file
  • POST - create an attachment
Author:
Bogdan Stefanescu
  • Constructor Details

    • FileService

      public FileService()
  • Method Details

    • doGet

      public javax.ws.rs.core.Response doGet(@Context javax.ws.rs.core.Request request)
    • doPost

      public javax.ws.rs.core.Response doPost()
    • remove

      public javax.ws.rs.core.Response remove()
    • doDelete

      public javax.ws.rs.core.Response doDelete()