Class WfsMessageBodyReader

java.lang.Object
org.codice.ddf.spatial.ogc.wfs.v110.catalog.source.WfsMessageBodyReader
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<org.codice.ddf.spatial.ogc.wfs.catalog.WfsFeatureCollection>

public class WfsMessageBodyReader extends Object implements javax.ws.rs.ext.MessageBodyReader<org.codice.ddf.spatial.ogc.wfs.catalog.WfsFeatureCollection>
  • Constructor Summary

    Constructors
    Constructor
    Description
    WfsMessageBodyReader(org.codice.ddf.spatial.ogc.wfs.featuretransformer.FeatureTransformationService featureTransformationService, Supplier<org.codice.ddf.spatial.ogc.wfs.featuretransformer.WfsMetadata<net.opengis.wfs.v_1_1_0.FeatureTypeType>> wfsMetadataSupplier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isReadable(Class<?> clazz, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
     
    org.codice.ddf.spatial.ogc.wfs.catalog.WfsFeatureCollection
    readFrom(Class<org.codice.ddf.spatial.ogc.wfs.catalog.WfsFeatureCollection> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> multivaluedMap, InputStream inputStream)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WfsMessageBodyReader

      public WfsMessageBodyReader(org.codice.ddf.spatial.ogc.wfs.featuretransformer.FeatureTransformationService featureTransformationService, Supplier<org.codice.ddf.spatial.ogc.wfs.featuretransformer.WfsMetadata<net.opengis.wfs.v_1_1_0.FeatureTypeType>> wfsMetadataSupplier)
  • Method Details

    • isReadable

      public boolean isReadable(Class<?> clazz, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
      Specified by:
      isReadable in interface javax.ws.rs.ext.MessageBodyReader<org.codice.ddf.spatial.ogc.wfs.catalog.WfsFeatureCollection>
    • readFrom

      public org.codice.ddf.spatial.ogc.wfs.catalog.WfsFeatureCollection readFrom(Class<org.codice.ddf.spatial.ogc.wfs.catalog.WfsFeatureCollection> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> multivaluedMap, InputStream inputStream)
      Specified by:
      readFrom in interface javax.ws.rs.ext.MessageBodyReader<org.codice.ddf.spatial.ogc.wfs.catalog.WfsFeatureCollection>