Tabnine Logo
RestfulServerUtils.createPagingLink
Code IndexAdd Tabnine to your IDE (free)

How to use
createPagingLink
method
in
ca.uhn.fhir.rest.server.RestfulServerUtils

Best Java code snippets using ca.uhn.fhir.rest.server.RestfulServerUtils.createPagingLink (Showing top 7 results out of 315)

origin: jamesagnew/hapi-fhir

public static String createPagingLink(Set<Include> theIncludes, String theServerBase, String theSearchId, int theOffset, int theCount, Map<String, String[]> theRequestParameters, boolean thePrettyPrint,
                         BundleTypeEnum theBundleType) {
  return createPagingLink(theIncludes, theServerBase, theSearchId, theOffset, theCount, theRequestParameters, thePrettyPrint,
    theBundleType, null);
}
origin: jamesagnew/hapi-fhir

public static String createPagingLink(Set<Include> theIncludes, String theServerBase, String theSearchId, String thePageId, Map<String, String[]> theRequestParameters, boolean thePrettyPrint,
                         BundleTypeEnum theBundleType) {
  return createPagingLink(theIncludes, theServerBase, theSearchId, null, null, theRequestParameters, thePrettyPrint,
    theBundleType, thePageId);
}
origin: jamesagnew/hapi-fhir

linkNext = RestfulServerUtils.createPagingLink(theIncludes, serverBase, searchId, theResult.getNextPageId(), theRequest.getParameters(), prettyPrint, theBundleType);
linkPrev = RestfulServerUtils.createPagingLink(theIncludes, serverBase, searchId, theResult.getPreviousPageId(), theRequest.getParameters(), prettyPrint, theBundleType);
linkNext = (RestfulServerUtils.createPagingLink(theIncludes, serverBase, searchId, theOffset + numToReturn, numToReturn, theRequest.getParameters(), prettyPrint, theBundleType));
linkPrev = RestfulServerUtils.createPagingLink(theIncludes, serverBase, searchId, start, theLimit, theRequest.getParameters(), prettyPrint, theBundleType);
origin: ca.uhn.hapi.fhir/hapi-fhir-server

public static String createPagingLink(Set<Include> theIncludes, RequestDetails theRequestDetails, String theSearchId, int theOffset, int theCount, Map<String, String[]> theRequestParameters, boolean thePrettyPrint,
                         BundleTypeEnum theBundleType) {
  return createPagingLink(theIncludes, theRequestDetails, theSearchId, theOffset, theCount, theRequestParameters, thePrettyPrint,
    theBundleType, null);
}
origin: ca.uhn.hapi.fhir/hapi-fhir-server

public static String createPagingLink(Set<Include> theIncludes, RequestDetails theRequestDetails, String theSearchId, String thePageId, Map<String, String[]> theRequestParameters, boolean thePrettyPrint,
                         BundleTypeEnum theBundleType) {
  return createPagingLink(theIncludes, theRequestDetails, theSearchId, null, null, theRequestParameters, thePrettyPrint,
    theBundleType, thePageId);
}
origin: ca.uhn.hapi.fhir/hapi-fhir-server

linkNext = RestfulServerUtils.createPagingLink(theIncludes, theRequest, searchId, theResult.getNextPageId(), theRequest.getParameters(), prettyPrint, theBundleType);
linkPrev = RestfulServerUtils.createPagingLink(theIncludes, theRequest, searchId, theResult.getPreviousPageId(), theRequest.getParameters(), prettyPrint, theBundleType);
linkNext = (RestfulServerUtils.createPagingLink(theIncludes, theRequest, searchId, theOffset + numToReturn, numToReturn, theRequest.getParameters(), prettyPrint, theBundleType));
linkPrev = RestfulServerUtils.createPagingLink(theIncludes, theRequest, searchId, start, theLimit, theRequest.getParameters(), prettyPrint, theBundleType);
origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu

if (numTotalResults == null || theOffset + numToReturn < numTotalResults) {
  myBundle.getLinkNext()
      .setValue(RestfulServerUtils.createPagingLink(theIncludes, theServerBase, searchId, theOffset + numToReturn, numToReturn, theResponseEncoding, thePrettyPrint, theBundleType));
  myBundle.getLinkPrevious().setValue(RestfulServerUtils.createPagingLink(theIncludes, theServerBase, searchId, start, limit, theResponseEncoding, thePrettyPrint, theBundleType));
ca.uhn.fhir.rest.serverRestfulServerUtilscreatePagingLink

Popular methods of RestfulServerUtils

  • configureResponseParser
  • createEtag
  • determineResponseEncodingWithDefault
    Determine whether a response should be given in JSON or XML format based on the incoming HttpServlet
  • getNewParser
  • parsePreferHeader
  • validateResourceListNotNull
  • determineRequestEncoding
  • determineRequestEncodingNoDefault
  • determineRequestEncodingNoDefaultReturnRE
  • determineResponseEncodingNoDefault
    Try to determing the response content type, given the request Accept header and _format parameter. I
  • determineSummaryMode
  • extractCountParameter
  • determineSummaryMode,
  • extractCountParameter,
  • extractLastUpdatedFromResource,
  • fullyQualifyResourceIdOrReturnNull,
  • getContextForVersion,
  • getEncodingForContentType,
  • parseAcceptHeaderAndReturnHighestRankedOptions,
  • prettyPrintResponse,
  • streamResponseAsResource

Popular in Java

  • Reactive rest calls using spring rest template
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Menu (java.awt)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JPanel (javax.swing)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now