@Path(value="stocks") public class StockRequest extends Object
| Constructor and Description |
|---|
StockRequest() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getRequest(String fromYear,
String beforeYear,
String afterYear,
String fromSource,
String help,
String responseType,
javax.ws.rs.core.UriInfo uriInfo,
String acceptHeader) |
@GET
@Produces(value={"application/json","application/xml","text/html","text/csv","text/n3"})
@Path(value="/")
public javax.ws.rs.core.Response getRequest(@QueryParam(value="from_year")
String fromYear,
@QueryParam(value="before_year")
String beforeYear,
@QueryParam(value="after_year")
String afterYear,
@QueryParam(value="from_source")
String fromSource,
@QueryParam(value="help")
String help,
@QueryParam(value="response_type")
String responseType,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@HeaderParam(value="Accept")
String acceptHeader)
Copyright © 2018 Institute of Computer Science - FORTH-ICS. All rights reserved.