Class AbstractJaxRsPageProvider

  • All Implemented Interfaces:<JaxRsRequest>,

    public abstract class AbstractJaxRsPageProvider
    extends AbstractJaxRsProvider
    Base class for a provider to provide the [baseUrl]?_getpages=foo request, which is a request to the server to retrieve the next page of a set of paged results.
    • Constructor Detail

      • AbstractJaxRsPageProvider

        protected AbstractJaxRsPageProvider​(ca.uhn.fhir.context.FhirContext ctx)
        Provides the ability to set the FhirContext instance.
        ctx - the FhirContext instance.
    • Method Detail

      • getPages

        public getPages​(@QueryParam("_getpages")
                                                  String thePageId)
                                           throws IOException
        This method implements the "getpages" action
      • getPagingProvider

        public getPagingProvider()
        Default: no paging provider
        Specified by:
        getPagingProvider in interface<JaxRsRequest>
        Specified by:
        getPagingProvider in interface
        getPagingProvider in class AbstractJaxRsProvider
      • getBundleInclusionRule

        public ca.uhn.fhir.context.api.BundleInclusionRule getBundleInclusionRule()
        Default: BundleInclusionRule.BASED_ON_INCLUDES
        Specified by:
        getBundleInclusionRule in interface<JaxRsRequest>
      • getDefaultPreferReturn

        public getDefaultPreferReturn()
        Specified by:
        getDefaultPreferReturn in interface<JaxRsRequest>