Package ca.uhn.fhir.rest.server.method
Class ResponseBundleRequest
java.lang.Object
ca.uhn.fhir.rest.server.method.ResponseBundleRequest
This is a request object for selecting resources from a bundle provider and returning a bundle to the client
-
Field Summary
Modifier and TypeFieldDescriptionfinal IBundleProvider
The bundle provider that will be used as the source of resources for the returned bundle.final ca.uhn.fhir.model.valueset.BundleTypeEnum
The type of bundle that should be returned to the client.final Set
<ca.uhn.fhir.model.api.Include> The set of includes requested by the user.final String
The response bundle link to self.final int
The requested offset into the list of resources that should be used to create the returned bundle.final RequestDetails
The user request details.final RequestedPage
final String
The id of the search used to page through search resultsfinal IRestfulServer
<?> The FHIR REST server the request is coming from. -
Constructor Summary
ConstructorDescriptionResponseBundleRequest
(IRestfulServer<?> theServer, IBundleProvider theBundleProvider, RequestDetails theRequest, int theOffset, Integer theLimit, String theLinkSelf, Set<ca.uhn.fhir.model.api.Include> theIncludes, ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType, String theSearchId) -
Method Summary
-
Field Details
-
server
The FHIR REST server the request is coming from. This is used to determine default page size. -
bundleProvider
The bundle provider that will be used as the source of resources for the returned bundle. -
requestDetails
The user request details. This is used to parse out parameters used to create the final bundle. -
offset
The requested offset into the list of resources that should be used to create the returned bundle. -
linkSelf
The response bundle link to self. This is used to create "self" link in the returned bundle. -
includes
The set of includes requested by the user. This is used to determine which resources should be additionally included in the returned bundle. -
bundleType
The type of bundle that should be returned to the client. -
searchId
The id of the search used to page through search results -
requestedPage
-
-
Constructor Details
-
ResponseBundleRequest
public ResponseBundleRequest(IRestfulServer<?> theServer, IBundleProvider theBundleProvider, RequestDetails theRequest, int theOffset, Integer theLimit, String theLinkSelf, Set<ca.uhn.fhir.model.api.Include> theIncludes, ca.uhn.fhir.model.valueset.BundleTypeEnum theBundleType, String theSearchId)
-
-
Method Details
-
getRequestParameters
-