Package org.flowable.common.rest.util
Class RestUrlBuilder
java.lang.Object
org.flowable.common.rest.util.RestUrlBuilder
Helper class for building URLs based on a base URL.
 
 An instance can be created by using 
fromRequest(HttpServletRequest) and fromCurrentRequest() which extracts the base URL from the request or by specifying the base URL through
 usingBaseUrl(String)
 
 buildUrl(String[], Object...) can be called several times to build URLs based on the base URL- Author:
- Bassam Al-Sarori
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic RestUrlBuilderExtracts the base URL from current requeststatic RestUrlBuilderfromRequest(jakarta.servlet.http.HttpServletRequest request) Extracts the base URL from the requeststatic RestUrlBuilderusingBaseUrl(String baseUrl) Uses baseUrl as the base URL
- 
Field Details- 
baseUrl
 
- 
- 
Constructor Details- 
RestUrlBuilderprotected RestUrlBuilder()
- 
RestUrlBuilder
 
- 
- 
Method Details- 
getBaseUrl
- 
buildUrl
- 
usingBaseUrlUses baseUrl as the base URL
- 
fromRequestExtracts the base URL from the request
- 
fromCurrentRequestExtracts the base URL from current request
 
-