@Path(value="/networktest") public class NetTestWebService extends Object
Constructor and Description |
---|
NetTestWebService() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
get(String type) |
void |
upload(InputStream stream) |
@GET @Produces(value="application/octet-stream") @Path(value="/") public javax.ws.rs.core.Response get(@QueryParam(value="type") String type)
@POST @Consumes(value="multipart/form-data") @Path(value="/") public void upload(InputStream stream) throws IOException
IOException
Copyright © 2012–2017 Apache Software Foundation. All rights reserved.