protected static class AbstractRequest.AbstractRequestBuilder<T extends AbstractRequest.AbstractRequestBuilder,R extends AbstractRequest>
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRequestBuilder(R request) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertValidValues()
Used to assert state of the
request() being built and to enforce required invariants. |
R |
build() |
T |
from(R request) |
protected T |
myself() |
protected R |
request() |
T |
withAcceptLocale(java.util.Locale locale) |
T |
withEntitySet(EdmEntitySet entitySet) |
T |
withIntegrationObject(java.lang.String code) |
protected AbstractRequestBuilder(R request)
public T withEntitySet(EdmEntitySet entitySet)
public T withAcceptLocale(java.util.Locale locale)
public T withIntegrationObject(java.lang.String code)
protected T myself()
protected R request()
public final R build() throws EdmException
EdmExceptionprotected void assertValidValues()
throws EdmException
request() being built and to enforce required invariants. If subclasses override
this method they must call super.assertValidValues()EdmException - if the OData request is invalidjava.lang.IllegalArgumentException - if invariants on this request are not satisfied.Copyright © 2018 SAP SE. All Rights Reserved.