@Path(value="geonetwork") public class GeonetworkResolver extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CSW_SERVER |
static String |
PATH_PARAM_MODE |
static String |
PATH_PARAM_REMAINPATH |
static String |
PATH_PARAM_REQUEST_DELIMITER |
static String |
QUERY_PARAM_RESET_CACHE_PARAM |
static String |
QUERY_PARAM_RESET_CACHED_SCOPE_PARAM |
static String |
REPLACED_A_PUBLIC_UUID_PLEASE_IGNORE |
static String |
REPLACED_UUID_BY_FILTER_PLEASE_IGNORE |
static String |
SCOPE_SEPARATOR |
static String |
SRV_EN_MEF_EXPORT |
static String |
UUID |
static String |
VALUE_OF_REQUEST_DELIMITIER |
| Constructor and Description |
|---|
GeonetworkResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected GeonetworkInstance |
getGeonetworkInstanceForScope(String scope)
Gets the geonetwork instance for scope.
|
javax.ws.rs.core.Response |
submitGet(javax.servlet.http.HttpServletRequest req,
String scope,
String mode,
String visibility,
String filterKey,
String filterValue,
String remainPath,
String resetCache,
String resetScope)
Gets the geonetwork request criteria.
|
javax.ws.rs.core.Response |
submitPost(javax.servlet.http.HttpServletRequest req,
String scope,
String mode,
String visibility,
String filterKey,
String filterValue,
String remainPath,
String resetCache,
String resetScope)
Submit post.
|
public static final String REPLACED_A_PUBLIC_UUID_PLEASE_IGNORE
public static final String REPLACED_UUID_BY_FILTER_PLEASE_IGNORE
public static final String PATH_PARAM_MODE
public static final String PATH_PARAM_REQUEST_DELIMITER
public static final String CSW_SERVER
public static final String VALUE_OF_REQUEST_DELIMITIER
public static final String PATH_PARAM_REMAINPATH
public static final String QUERY_PARAM_RESET_CACHE_PARAM
public static final String QUERY_PARAM_RESET_CACHED_SCOPE_PARAM
public static final String SRV_EN_MEF_EXPORT
public static final String UUID
public static final String SCOPE_SEPARATOR
@GET
@Path(value="/{scope}/{mode}/{visibility}/{filterKey}/{filterValue}/$${remainPath:(/[^?$]+)?}")
public javax.ws.rs.core.Response submitGet(@Context
javax.servlet.http.HttpServletRequest req,
@PathParam(value="scope") @Nullable
String scope,
@PathParam(value="mode") @Nullable
String mode,
@PathParam(value="visibility") @Nullable
String visibility,
@PathParam(value="filterKey") @Nullable
String filterKey,
@PathParam(value="filterValue") @Nullable
String filterValue,
@PathParam(value="remainPath") @Nullable
String remainPath,
@QueryParam(value="resetcache") @Nullable
String resetCache,
@QueryParam(value="resetcachedscope") @Nullable
String resetScope)
throws javax.ws.rs.WebApplicationException
GeonetworkRequestFilterParameters.MODE
VISIBILITY must be: GeonetworkRequestFilterParameters.VISIBILITY
OWNER (is optional): filter by ownerreq - the reqscope - the scopemode - the modevisibility - the visibilityfilterKey - the filter keyfilterValue - the filter valueremainPath - the remain pathresetCache - the reset cacheresetScope - the reset scopejavax.ws.rs.WebApplicationException - the web application exception@POST
@Path(value="/{scope}/{mode}/{visibility}/{filterKey}/{filterValue}/$${remainPath:(/[^?$]+)?}")
public javax.ws.rs.core.Response submitPost(@Context
javax.servlet.http.HttpServletRequest req,
@PathParam(value="scope") @Nullable
String scope,
@PathParam(value="mode") @Nullable
String mode,
@PathParam(value="visibility") @Nullable
String visibility,
@PathParam(value="filterKey") @Nullable
String filterKey,
@PathParam(value="filterValue") @Nullable
String filterValue,
@PathParam(value="remainPath") @Nullable
String remainPath,
@QueryParam(value="resetcache") @Nullable
String resetCache,
@QueryParam(value="resetcachedscope") @Nullable
String resetScope)
throws javax.ws.rs.WebApplicationException
req - the reqscope - the scopemode - the modevisibility - the visibilityfilterKey - the filter keyfilterValue - the filter valueremainPath - the remain pathresetCache - the reset cacheresetScope - the reset scopejavax.ws.rs.WebApplicationException - the web application exceptionprotected GeonetworkInstance getGeonetworkInstanceForScope(String scope) throws Exception
scope - the scopeException - the exceptionCopyright © 2021. All Rights Reserved.