java.lang.Object
org.codice.ddf.spatial.ogc.csw.catalog.endpoint.CswEndpoint
All Implemented Interfaces:
Csw

public class CswEndpoint extends Object implements Csw
CswEndpoint provides a server implementation of the Catalogue Service for Web (CSW) 2.0.2.
  • Field Details

  • Constructor Details

  • 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:
      getCapabilities in interface Csw
      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:
      getCapabilities in interface Csw
      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:
      describeRecord in interface Csw
      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:
      describeRecord in interface Csw
      Throws:
      CswException
    • getRecords

      @GET @Produces("*/*") public CswRecordCollection getRecords(@QueryParam("") GetRecordsRequest request) throws CswException
      Specified by:
      getRecords in interface Csw
      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:
      getRecords in interface Csw
      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:
      getRecordById in interface Csw
      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:
      getRecordById in interface Csw
      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:
      transaction in interface Csw
      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

      protected long getRange(String rangeValue) throws ddf.catalog.source.UnsupportedQueryException
      Throws:
      ddf.catalog.source.UnsupportedQueryException
    • init

      public void init()
    • destroy

      public void destroy()