
com.github.davidmoten.odata.client.UploadStrategySingleCall Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of odata-client-runtime Show documentation
Show all versions of odata-client-runtime Show documentation
OData client runtime for use with generated code
The newest version!
package com.github.davidmoten.odata.client;
import java.util.Optional;
import com.github.davidmoten.odata.client.internal.RequestHelper;
final class UploadStrategySingleCall implements UploadStrategy {
static final UploadStrategySingleCall INSTANCE = new UploadStrategySingleCall();
private UploadStrategySingleCall() {
// prevent instantiation
}
@Override
public Optional builder(ContextPath contextPath, ODataType entity,
String fieldName, HttpMethod method) {
return RequestHelper.uploader(contextPath, entity, fieldName, method);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy