Class NetTestWebService


  • @Service("netTestWebService")
    @Path("/networktest")
    public class NetTestWebService
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response get​(java.lang.String type, int _size)  
      void upload​(int size, java.io.InputStream stream)  
      • Methods inherited from class java.lang.Object

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

      • NetTestWebService

        public NetTestWebService()
    • Method Detail

      • get

        @GET
        @Produces("application/octet-stream")
        @Path("/")
        public javax.ws.rs.core.Response get​(@QueryParam("type")
                                             java.lang.String type,
                                             @QueryParam("size")
                                             int _size)
      • upload

        @POST
        @Consumes("application/octet-stream")
        @Path("/")
        public void upload​(@QueryParam("size")
                           int size,
                           java.io.InputStream stream)
                    throws java.io.IOException
        Throws:
        java.io.IOException