public final class URIUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static URI |
addValueSegment(URI uri) |
static URI |
buildFunctionInvokeURI(URI uri,
Map<String,org.apache.olingo.client.api.domain.ClientValue> parameters) |
static org.apache.http.HttpEntity |
buildInputStreamEntity(org.apache.olingo.client.api.ODataClient client,
InputStream input) |
static String |
escape(Object obj)
Turns primitive values into their respective URI representation.
|
static URI |
getURI(String base,
String href)
Build URI starting from the given base and href.
|
static URI |
getURI(URI base,
String href)
Build URI starting from the given base and href.
|
static URI |
getURI(URI base,
URI href)
Build URI starting from the given base and href.
|
static boolean |
shouldUseRepeatableHttpBodyEntry(org.apache.olingo.client.api.ODataClient client) |
public static URI getURI(String base, String href)
base - URI prefix.href - URI suffix.public static URI getURI(URI base, URI href)
base - URI prefix.href - URI suffix.public static URI getURI(URI base, String href)
base - URI prefix.href - URI suffix.public static String escape(Object obj)
obj - primitive valuepublic static boolean shouldUseRepeatableHttpBodyEntry(org.apache.olingo.client.api.ODataClient client)
public static org.apache.http.HttpEntity buildInputStreamEntity(org.apache.olingo.client.api.ODataClient client,
InputStream input)
Copyright © 2013–2017 The Apache Software Foundation. All rights reserved.