@Path(value="wekeo") public class WekeoResolver extends Object
| Constructor and Description |
|---|
WekeoResolver() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getToken(javax.servlet.http.HttpServletRequest req)
Gets the token.
|
InputStream |
index(javax.servlet.http.HttpServletRequest req) |
static org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint |
readWekeoServiceEndpoint(javax.servlet.http.HttpServletRequest req,
String scope)
Reads the wekeo endpoint information from IS.
|
@GET
@Path(value="/gettoken")
@Produces(value="application/json")
public javax.ws.rs.core.Response getToken(@Context
javax.servlet.http.HttpServletRequest req)
throws javax.ws.rs.WebApplicationException
req - the reqjavax.ws.rs.WebApplicationException - the web application exception@GET @Produces(value="text/html") @Path(value="") public InputStream index(@Context javax.servlet.http.HttpServletRequest req) throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationExceptionpublic static org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint readWekeoServiceEndpoint(javax.servlet.http.HttpServletRequest req,
String scope)
req - the reqscope - the scopeCopyright © 2021. All Rights Reserved.