public final class HttpEntities extends Object
public static HttpEntity create(String content, ContentType contentType)
public static HttpEntity create(String content, Charset charset)
public static HttpEntity create(String content)
public static HttpEntity create(byte[] content, ContentType contentType)
public static HttpEntity create(File content, ContentType contentType)
public static HttpEntity create(Serializable serializable, ContentType contentType)
public static HttpEntity createUrlEncoded(Iterable<? extends NameValuePair> parameters, Charset charset)
public static HttpEntity create(IOCallback<OutputStream> callback, ContentType contentType)
public static HttpEntity gzip(HttpEntity entity)
public static HttpEntity createGzipped(String content, ContentType contentType)
public static HttpEntity createGzipped(String content, Charset charset)
public static HttpEntity createGzipped(String content)
public static HttpEntity createGzipped(byte[] content, ContentType contentType)
public static HttpEntity createGzipped(File content, ContentType contentType)
public static HttpEntity createGzipped(Serializable serializable, ContentType contentType)
public static HttpEntity createGzipped(IOCallback<OutputStream> callback, ContentType contentType)
public static HttpEntity createGzipped(Path content, ContentType contentType)
public static HttpEntity withTrailers(HttpEntity entity, Header... trailers)
public static HttpEntity create(String content, ContentType contentType, Header... trailers)
public static HttpEntity create(String content, Charset charset, Header... trailers)
public static HttpEntity create(String content, Header... trailers)
public static HttpEntity create(byte[] content, ContentType contentType, Header... trailers)
public static HttpEntity create(File content, ContentType contentType, Header... trailers)
public static HttpEntity create(Serializable serializable, ContentType contentType, Header... trailers)
public static HttpEntity create(IOCallback<OutputStream> callback, ContentType contentType, Header... trailers)
public static HttpEntity create(Path content, ContentType contentType)
public static HttpEntity create(Path content, ContentType contentType, Header... trailers)
Copyright © 2023. All rights reserved.