Class CswEndpoint
java.lang.Object
org.codice.ddf.spatial.ogc.csw.catalog.endpoint.CswEndpoint
- All Implemented Interfaces:
Csw
CswEndpoint provides a server implementation of the Catalogue Service for Web (CSW) 2.0.2.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final List<net.opengis.filter.v_1_1_0.ComparisonOperatorType>protected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final List<net.opengis.filter.v_1_1_0.SpatialOperatorNameType> -
Constructor Summary
ConstructorsConstructorDescriptionCswEndpoint(ddf.catalog.CatalogFramework ddf, TransformerManager mimeTypeManager, TransformerManager schemaManager, TransformerManager inputManager, CswActionTransformerProvider cswActionTransformerProvider, Validator validator, CswQueryFactory queryFactory) JAX-RS Server that represents a CSW v2.0.2 Server. -
Method Summary
Modifier and TypeMethodDescriptionnet.opengis.cat.csw.v_2_0_2.DescribeRecordResponseTypedescribeRecord(net.opengis.cat.csw.v_2_0_2.DescribeRecordType request) net.opengis.cat.csw.v_2_0_2.DescribeRecordResponseTypedescribeRecord(DescribeRecordRequest request) voiddestroy()net.opengis.cat.csw.v_2_0_2.CapabilitiesTypegetCapabilities(net.opengis.cat.csw.v_2_0_2.GetCapabilitiesType request) net.opengis.cat.csw.v_2_0_2.CapabilitiesTypegetCapabilities(GetCapabilitiesRequest request) protected longgetRecordById(net.opengis.cat.csw.v_2_0_2.GetRecordByIdType request, String rangeValue) getRecordById(GetRecordByIdRequest request, String rangeValue) getRecords(net.opengis.cat.csw.v_2_0_2.GetRecordsType request) getRecords(GetRecordsRequest request) voidinit()net.opengis.cat.csw.v_2_0_2.TransactionResponseTypetransaction(CswTransactionRequest request) voidvoidunknownOperation(CswRequest request) voidvoidunknownService(CswRequest request)
-
Field Details
-
SERVICE_TITLE
- See Also:
-
SERVICE
- See Also:
-
SERVICE_ABSTRACT
- See Also:
-
ENDPOINT_THREADPOOL_COUNT
- See Also:
-
SERVICE_TYPE_VERSION
-
SPATIAL_OPERATORS
-
COMPARISON_OPERATORS
-
PROVIDER_NAME
- See Also:
-
SERVICE_IDENTIFICATION
- See Also:
-
SERVICE_PROVIDER
- See Also:
-
OPERATIONS_METADATA
- See Also:
-
FILTER_CAPABILITIES
- See Also:
-
GET_CAPABILITIES_PARAMS
-
-
Constructor Details
-
CswEndpoint
public CswEndpoint(ddf.catalog.CatalogFramework ddf, TransformerManager mimeTypeManager, TransformerManager schemaManager, TransformerManager inputManager, CswActionTransformerProvider cswActionTransformerProvider, Validator validator, CswQueryFactory queryFactory) JAX-RS Server that represents a CSW v2.0.2 Server.
-
-
Method Details
-
getCapabilities
@GET @Consumes({"text/xml","application/xml"}) @Produces({"text/xml","application/xml"}) public net.opengis.cat.csw.v_2_0_2.CapabilitiesType getCapabilities(@QueryParam("") GetCapabilitiesRequest request) throws CswException - Specified by:
getCapabilitiesin interfaceCsw- Throws:
CswException
-
getCapabilities
@POST @Consumes({"text/xml","application/xml"}) @Produces({"text/xml","application/xml"}) public net.opengis.cat.csw.v_2_0_2.CapabilitiesType getCapabilities(net.opengis.cat.csw.v_2_0_2.GetCapabilitiesType request) throws CswException - Specified by:
getCapabilitiesin interfaceCsw- Throws:
CswException
-
describeRecord
@GET @Consumes({"text/xml","application/xml"}) @Produces({"text/xml","application/xml"}) public net.opengis.cat.csw.v_2_0_2.DescribeRecordResponseType describeRecord(@QueryParam("") DescribeRecordRequest request) throws CswException - Specified by:
describeRecordin interfaceCsw- Throws:
CswException
-
describeRecord
@POST @Consumes({"text/xml","application/xml"}) @Produces({"text/xml","application/xml"}) public net.opengis.cat.csw.v_2_0_2.DescribeRecordResponseType describeRecord(net.opengis.cat.csw.v_2_0_2.DescribeRecordType request) throws CswException - Specified by:
describeRecordin interfaceCsw- Throws:
CswException
-
getRecords
@GET @Produces("*/*") public CswRecordCollection getRecords(@QueryParam("") GetRecordsRequest request) throws CswException - Specified by:
getRecordsin interfaceCsw- Throws:
CswException
-
getRecords
@POST @Consumes({"text/xml","application/xml"}) @Produces("*/*") public CswRecordCollection getRecords(net.opengis.cat.csw.v_2_0_2.GetRecordsType request) throws CswException - Specified by:
getRecordsin interfaceCsw- Throws:
CswException
-
getRecordById
@GET @Consumes({"text/xml","application/xml"}) @Produces({"text/xml","application/xml"}) public CswRecordCollection getRecordById(@QueryParam("") GetRecordByIdRequest request, @HeaderParam("Range") String rangeValue) throws CswException - Specified by:
getRecordByIdin interfaceCsw- Throws:
CswException
-
getRecordById
@POST @Consumes({"text/xml","application/xml"}) @Produces({"text/xml","application/xml"}) public CswRecordCollection getRecordById(net.opengis.cat.csw.v_2_0_2.GetRecordByIdType request, @HeaderParam("Range") String rangeValue) throws CswException - Specified by:
getRecordByIdin interfaceCsw- Throws:
CswException
-
transaction
@POST @Consumes({"text/xml","application/xml"}) @Produces({"text/xml","application/xml"}) public net.opengis.cat.csw.v_2_0_2.TransactionResponseType transaction(CswTransactionRequest request) throws CswException - Specified by:
transactionin interfaceCsw- Throws:
CswException
-
unknownService
@GET @Consumes({"text/xml","application/xml"}) @Produces({"text/xml","application/xml"}) public void unknownService(@QueryParam("") CswRequest request) throws CswException - Throws:
CswException
-
unknownService
@POST @Consumes({"text/xml","application/xml"}) @Produces({"text/xml","application/xml"}) public void unknownService() throws CswException- Throws:
CswException
-
unknownOperation
@GET @Consumes({"text/xml","application/xml"}) @Produces({"text/xml","application/xml"}) public void unknownOperation(@QueryParam("") CswRequest request) throws CswException - Throws:
CswException
-
unknownOperation
@POST @Consumes({"text/xml","application/xml"}) @Produces({"text/xml","application/xml"}) public void unknownOperation() throws CswException- Throws:
CswException
-
getRange
- Throws:
ddf.catalog.source.UnsupportedQueryException
-
init
public void init() -
destroy
public void destroy()
-