Class RestEntryPoint


  • @Path("api")
    public class RestEntryPoint
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RestEntryPoint()  
    • Method Summary

      Modifier and Type Method Description
      javax.ws.rs.core.Response getRootDirectory​(byte[] data)  
      java.lang.String rename​(byte[] subjectByteArray, java.lang.String newName)  
      java.lang.String sendSubject​(byte[] data)  
      de.ipk_gatersleben.bit.bi.edal.rest.server.ServerInfo serverinfo()  
      java.lang.String test()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RestEntryPoint

        public RestEntryPoint()
    • Method Detail

      • test

        @GET
        @Path("test")
        @Produces("text/plain")
        public java.lang.String test()
      • serverinfo

        @GET
        @Path("info")
        @Produces("text/xml")
        public de.ipk_gatersleben.bit.bi.edal.rest.server.ServerInfo serverinfo()
      • sendSubject

        @Consumes("application/octet-stream")
        @Path("sendSubject")
        @POST
        public java.lang.String sendSubject​(byte[] data)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • rename

        @Consumes("multipart/form-data")
        @Path("sendSubjectAndObject")
        @POST
        public java.lang.String rename​(byte[] subjectByteArray,
                                       java.lang.String newName)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getRootDirectory

        @Consumes("application/octet-stream")
        @Path("getRootDirectory")
        @POST
        @Produces("application/octet-stream")
        public javax.ws.rs.core.Response getRootDirectory​(byte[] data)
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception