public static class ODataClientBuilder.ClientBuilder extends Object
Constructor and Description |
---|
ClientBuilder(String serviceRoot)
Create the builder for an EdmEnabledODataClient.
|
Modifier and Type | Method and Description |
---|---|
EdmEnabledODataClient |
createClient()
Create an new EdmEnabledODataClient based on via system property ODATA_EMD_CLIENT_IMPL_SYS_PROPERTY
class name or if not net the default ODATA_EDM_CLIENT_IMPL_CLASS set class
with before set serviceRoot and optional edm and optinal metadataETag.
|
ODataClientBuilder.ClientBuilder |
edm(Edm edm)
Set the edm to use for edm enabled client
|
ODataClientBuilder.ClientBuilder |
metadataETag(String metadataETag)
Set the metadataETag to use for edm enabled client
|
public ClientBuilder(String serviceRoot)
serviceRoot
- service root to usepublic ODataClientBuilder.ClientBuilder edm(Edm edm)
edm
- edm to use for edm enabled clientpublic ODataClientBuilder.ClientBuilder metadataETag(String metadataETag)
metadataETag
- edm to use for edm enabled clientpublic EdmEnabledODataClient createClient()
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.