+ *
- * Just to create response templates to be initialized from batch.
- */
- private ODataEntityCreateResponseImpl() {
- super();
- }
+ private ODataEntityCreateResponseImpl(final CommonODataClient> odataClient, final HttpClient httpClient,
+ final HttpResponse res) {
- /**
- * Constructor.
- *
- * @param client HTTP client.
- * @param res HTTP response.
- */
- private ODataEntityCreateResponseImpl(final HttpClient client, final HttpResponse res) {
- super(client, res);
+ super(odataClient, httpClient, res);
}
/**
@@ -125,9 +112,9 @@ public class ODataEntityCreateRequestImpl
- * Just to create response templates to be initialized from batch.
- */
- private ODataEntityUpdateResponseImpl() {}
+ private ODataEntityUpdateResponseImpl(final CommonODataClient> odataClient, final HttpClient httpClient,
+ final HttpResponse res) {
- /**
- * Constructor.
- *
- * @param client HTTP client.
- * @param res HTTP response.
- */
- private ODataEntityUpdateResponseImpl(final HttpClient client, final HttpResponse res) {
- super(client, res);
+ super(odataClient, httpClient, res);
}
@Override
@@ -126,8 +115,8 @@ public class ODataEntityUpdateRequestImpl
- * Just to create response templates to be initialized from batch.
- */
- private ODataInvokeResponseImpl() {
- super();
- }
+ private ODataInvokeResponseImpl(final CommonODataClient> odataClient, final HttpClient httpClient,
+ final HttpResponse res) {
- /**
- * Constructor.
- *
- * @param client HTTP client.
- * @param res HTTP response.
- */
- private ODataInvokeResponseImpl(final HttpClient client, final HttpResponse res) {
- super(client, res);
+ super(odataClient, httpClient, res);
}
/**
@@ -213,19 +200,19 @@ public abstract class AbstractODataInvokeRequest
- * Just to create response templates to be initialized from batch.
- */
- protected AbstractODataRetrieveResponse() {
- super();
- }
+ protected AbstractODataRetrieveResponse(final CommonODataClient> odataClient, final HttpClient httpClient,
+ final HttpResponse res) {
- /**
- * Constructor.
- *
- * @param client HTTP client.
- * @param res HTTP response.
- */
- protected AbstractODataRetrieveResponse(final HttpClient client, final HttpResponse res) {
- super(client, res);
+ super(odataClient, httpClient, res);
}
@Override
diff --git a/lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/retrieve/EdmMetadataRequestImpl.java b/lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/retrieve/EdmMetadataRequestImpl.java
index 64486fff5..c902eacd4 100644
--- a/lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/retrieve/EdmMetadataRequestImpl.java
+++ b/lib/client-core/src/main/java/org/apache/olingo/client/core/communication/request/retrieve/EdmMetadataRequestImpl.java
@@ -49,11 +49,12 @@ class EdmMetadataRequestImpl extends AbstractMetadataRequestImpl
* This method has to be used to build response items about a batch request.
*
- * @param