Class AbstractRequest.AbstractRequestBuilder<T extends AbstractRequest.AbstractRequestBuilder,​R extends AbstractRequest>

    • Constructor Detail

      • AbstractRequestBuilder

        protected AbstractRequestBuilder​(R request)
    • Method Detail

      • withEntitySet

        public T withEntitySet​(org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet)
      • withAcceptLocale

        public T withAcceptLocale​(java.util.Locale locale)
      • withIntegrationObject

        public T withIntegrationObject​(java.lang.String code)
      • from

        public T from​(R request)
      • myself

        protected T myself()
      • request

        protected R request()
      • build

        public final R build()
                      throws org.apache.olingo.odata2.api.edm.EdmException
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException
      • assertValidValues

        protected void assertValidValues()
                                  throws org.apache.olingo.odata2.api.edm.EdmException
        Used to assert state of the request() being built and to enforce required invariants. If subclasses override this method they must call super.assertValidValues()
        Throws:
        org.apache.olingo.odata2.api.edm.EdmException - if the OData request is invalid
        java.lang.IllegalArgumentException - if invariants on this request are not satisfied.