@Path(value="/detect") public class DetectorResource extends Object
Constructor and Description |
---|
DetectorResource(ServerStatus serverStatus) |
Modifier and Type | Method and Description |
---|---|
String |
detect(InputStream is,
javax.ws.rs.core.HttpHeaders httpHeaders,
javax.ws.rs.core.UriInfo info) |
public DetectorResource(ServerStatus serverStatus)
@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–2021 The Apache Software Foundation. All rights reserved.