Class URIUtils
java.lang.Object
org.apache.olingo.client.core.uri.URIUtils
URI utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic URIaddValueSegment(URI uri) static URIbuildFunctionInvokeURI(URI uri, Map<String, ClientValue> parameters) static org.apache.http.HttpEntitybuildInputStreamEntity(ODataClient client, InputStream input) static StringTurns primitive values into their respective URI representation.static URIBuild URI starting from the given base and href.static URIBuild URI starting from the given base and href.static URIBuild URI starting from the given base and href.static boolean
-
Method Details
-
getURI
Build URI starting from the given base and href.
If href is absolute or base is null then base will be ignored.- Parameters:
base- URI prefix.href- URI suffix.- Returns:
- built URI.
-
getURI
Build URI starting from the given base and href.
If href is absolute or base is null then base will be ignored.- Parameters:
base- URI prefix.href- URI suffix.- Returns:
- built URI.
-
getURI
Build URI starting from the given base and href.
If href is absolute or base is null then base will be ignored.- Parameters:
base- URI prefix.href- URI suffix.- Returns:
- built URI.
-
escape
Turns primitive values into their respective URI representation.- Parameters:
obj- primitive value- Returns:
- URI representation
-
shouldUseRepeatableHttpBodyEntry
-
buildInputStreamEntity
public static org.apache.http.HttpEntity buildInputStreamEntity(ODataClient client, InputStream input) -
addValueSegment
-
buildFunctionInvokeURI
-