Class UriBuilder
- java.lang.Object
-
- org.linuxforhealth.fhir.search.uri.UriBuilder
-
public class UriBuilder extends java.lang.Object
Build the self link from the search parameters actually used by the server FHIR Specification: URI Pattern
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UriBuilder
builder()
generates a single instance of theUriBuilder
context(FHIRSearchContext context)
adds the context inline.UriBuilder
requestUri(java.lang.String requestUriString)
adds the request uri inlinejava.lang.String
toSearchSelfUri()
outputs the searchSelfUri based
-
-
-
Method Detail
-
builder
public static UriBuilder builder()
generates a single instance of the- Returns:
-
context
public UriBuilder context(FHIRSearchContext context)
adds the context inline.- Parameters:
context
-- Returns:
-
requestUri
public UriBuilder requestUri(java.lang.String requestUriString)
adds the request uri inline- Parameters:
requestUriString
-- Returns:
-
toSearchSelfUri
public java.lang.String toSearchSelfUri() throws java.net.URISyntaxException
outputs the searchSelfUri based- Returns:
- Throws:
java.net.URISyntaxException
-
-