com.jdroid.java.http.apache.put.ApacheMultipartPutHttpService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdroid-java-http-apache Show documentation
Show all versions of jdroid-java-http-apache Show documentation
Apache Http Layer Implementation for Jdroid
The newest version!
package com.jdroid.java.http.apache.put;
import com.jdroid.java.exception.UnexpectedException;
import com.jdroid.java.http.HttpService;
import com.jdroid.java.http.HttpServiceProcessor;
import com.jdroid.java.http.MimeType;
import com.jdroid.java.http.MultipartHttpService;
import com.jdroid.java.http.Server;
import com.jdroid.java.http.apache.ApacheHttpService;
import com.jdroid.java.http.apache.HttpClientFactory;
import com.jdroid.java.http.apache.post.ApachePostHttpService;
import com.jdroid.java.http.apache.post.ByteArrayInputStreamBody;
import com.jdroid.java.marshaller.MarshallerMode;
import com.jdroid.java.marshaller.MarshallerProvider;
import org.apache.http.client.methods.HttpEntityEnclosingRequestBase;
import org.apache.http.entity.mime.MultipartEntity;
import org.apache.http.entity.mime.content.StringBody;
import java.io.ByteArrayInputStream;
import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;
import java.util.List;
public class ApacheMultipartPutHttpService extends ApachePutHttpService implements MultipartHttpService {
private MultipartEntity multipartEntity = new MultipartEntity();
public ApacheMultipartPutHttpService(HttpClientFactory httpClientFactory, Server server,
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy