@Path(value="/detect") public class DetectorResource extends Object
Constructor and Description |
---|
DetectorResource() |
Modifier and Type | Method and Description |
---|---|
String |
detect(InputStream is,
javax.ws.rs.core.HttpHeaders httpHeaders,
javax.ws.rs.core.UriInfo info) |
@PUT @Path(value="stream") @Consumes(value="*/*") @Produces(value="text/plain") public String detect(InputStream is, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Context javax.ws.rs.core.UriInfo info)
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.