@Path(value="parthenos_registry") public class PartheosRegistryResolver extends Object
| Constructor and Description |
|---|
PartheosRegistryResolver() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
postCatalogue(javax.servlet.http.HttpServletRequest req,
ParthenosRequest jsonRequest)
Post catalogue.
|
javax.ws.rs.core.Response |
resolveParthenosURL(javax.servlet.http.HttpServletRequest req,
String provider,
String path,
String remainPath)
Resolve parthenos url.
|
protected String |
toNameForCatalogue(String remainPathParthenosURL)
To name for catalogue.
|
@GET
@Path(value="/{provider}/{path}{remainPath:(/[^?$]+)?}")
public javax.ws.rs.core.Response resolveParthenosURL(@Context
javax.servlet.http.HttpServletRequest req,
@PathParam(value="provider")
String provider,
@PathParam(value="path")
String path,
@PathParam(value="remainPath")
String remainPath)
throws javax.ws.rs.WebApplicationException
req - the reqprovider - the providerpath - the pathremainPath - the remain pathjavax.ws.rs.WebApplicationException@POST
@Path(value="")
@Consumes(value="application/json")
@Produces(value="text/plain")
public javax.ws.rs.core.Response postCatalogue(@Context
javax.servlet.http.HttpServletRequest req,
ParthenosRequest jsonRequest)
throws javax.ws.rs.WebApplicationException
req - the reqjsonRequest - the json requestException - the exceptionjavax.ws.rs.WebApplicationExceptionprotected String toNameForCatalogue(String remainPathParthenosURL) throws UnsupportedEncodingException
remainPathParthenosURL - the remain path parthenos urlUnsupportedEncodingException - the unsupported encoding exceptionCopyright © 2022. All Rights Reserved.