public class org.apache.hc.client.http.entity.mime.MultipartEntityBuilder extends java.lang.Object
{
private static final char[] MULTIPART_CHARS;
private org.apache.hc.core.http.ContentType contentType;
private org.apache.hc.client.http.entity.mime.HttpMultipartMode mode;
private java.lang.String boundary;
private java.nio.charset.Charset charset;
private java.util.List multipartParts;
private static final org.apache.hc.core.http.NameValuePair[] EMPTY_NAME_VALUE_ARRAY;
public static org.apache.hc.client.http.entity.mime.MultipartEntityBuilder create()
{
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v;
v = new org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
specialinvoke v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: void <init>()>();
return v;
}
void <init>()
{
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v;
org.apache.hc.client.http.entity.mime.HttpMultipartMode v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
specialinvoke v.<java.lang.Object: void <init>()>();
v = <org.apache.hc.client.http.entity.mime.HttpMultipartMode: org.apache.hc.client.http.entity.mime.HttpMultipartMode STRICT>;
v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.HttpMultipartMode mode> = v;
return;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder setMode(org.apache.hc.client.http.entity.mime.HttpMultipartMode)
{
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v;
org.apache.hc.client.http.entity.mime.HttpMultipartMode v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: org.apache.hc.client.http.entity.mime.HttpMultipartMode;
v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.HttpMultipartMode mode> = v;
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder setLaxMode()
{
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v;
org.apache.hc.client.http.entity.mime.HttpMultipartMode v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v = <org.apache.hc.client.http.entity.mime.HttpMultipartMode: org.apache.hc.client.http.entity.mime.HttpMultipartMode LEGACY>;
v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.HttpMultipartMode mode> = v;
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder setStrictMode()
{
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v;
org.apache.hc.client.http.entity.mime.HttpMultipartMode v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v = <org.apache.hc.client.http.entity.mime.HttpMultipartMode: org.apache.hc.client.http.entity.mime.HttpMultipartMode STRICT>;
v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.HttpMultipartMode mode> = v;
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder setBoundary(java.lang.String)
{
java.lang.String v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: java.lang.String;
v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: java.lang.String boundary> = v;
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder setMimeSubtype(java.lang.String)
{
org.apache.hc.core.http.ContentType v;
java.lang.String v, v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: java.lang.String;
staticinvoke <org.apache.hc.core.util.Args: java.lang.CharSequence notBlank(java.lang.CharSequence,java.lang.String)>(v, "MIME subtype");
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("multipart/\u0001");
v = staticinvoke <org.apache.hc.core.http.ContentType: org.apache.hc.core.http.ContentType create(java.lang.String)>(v);
v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.core.http.ContentType contentType> = v;
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder setContentType(org.apache.hc.core.http.ContentType)
{
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v;
org.apache.hc.core.http.ContentType v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: org.apache.hc.core.http.ContentType;
staticinvoke <org.apache.hc.core.util.Args: java.lang.Object notNull(java.lang.Object,java.lang.String)>(v, "Content type");
v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.core.http.ContentType contentType> = v;
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder setCharset(java.nio.charset.Charset)
{
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v;
java.nio.charset.Charset v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: java.nio.charset.Charset;
v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: java.nio.charset.Charset charset> = v;
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addPart(org.apache.hc.client.http.entity.mime.MultipartPart)
{
java.util.List v, v;
org.apache.hc.client.http.entity.mime.MultipartPart v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v;
java.util.ArrayList v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: org.apache.hc.client.http.entity.mime.MultipartPart;
if v != null goto label;
return v;
label:
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: java.util.List multipartParts>;
if v != null goto label;
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>()>();
v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: java.util.List multipartParts> = v;
label:
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: java.util.List multipartParts>;
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addPart(java.lang.String, org.apache.hc.client.http.entity.mime.ContentBody)
{
org.apache.hc.client.http.entity.mime.FormBodyPart v;
org.apache.hc.client.http.entity.mime.ContentBody v;
java.lang.String v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v, v;
org.apache.hc.client.http.entity.mime.FormBodyPartBuilder v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: java.lang.String;
v := @parameter: org.apache.hc.client.http.entity.mime.ContentBody;
staticinvoke <org.apache.hc.core.util.Args: java.lang.Object notNull(java.lang.Object,java.lang.String)>(v, "Name");
staticinvoke <org.apache.hc.core.util.Args: java.lang.Object notNull(java.lang.Object,java.lang.String)>(v, "Content body");
v = staticinvoke <org.apache.hc.client.http.entity.mime.FormBodyPartBuilder: org.apache.hc.client.http.entity.mime.FormBodyPartBuilder create(java.lang.String,org.apache.hc.client.http.entity.mime.ContentBody)>(v, v);
v = virtualinvoke v.<org.apache.hc.client.http.entity.mime.FormBodyPartBuilder: org.apache.hc.client.http.entity.mime.FormBodyPart build()>();
v = virtualinvoke v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addPart(org.apache.hc.client.http.entity.mime.MultipartPart)>(v);
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addTextBody(java.lang.String, java.lang.String, org.apache.hc.core.http.ContentType)
{
org.apache.hc.core.http.ContentType v;
java.lang.String v, v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v, v;
org.apache.hc.client.http.entity.mime.StringBody v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: org.apache.hc.core.http.ContentType;
v = new org.apache.hc.client.http.entity.mime.StringBody;
specialinvoke v.<org.apache.hc.client.http.entity.mime.StringBody: void <init>(java.lang.String,org.apache.hc.core.http.ContentType)>(v, v);
v = virtualinvoke v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addPart(java.lang.String,org.apache.hc.client.http.entity.mime.ContentBody)>(v, v);
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addTextBody(java.lang.String, java.lang.String)
{
org.apache.hc.core.http.ContentType v;
java.lang.String v, v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v, v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v = <org.apache.hc.core.http.ContentType: org.apache.hc.core.http.ContentType DEFAULT_TEXT>;
v = virtualinvoke v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addTextBody(java.lang.String,java.lang.String,org.apache.hc.core.http.ContentType)>(v, v, v);
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addBinaryBody(java.lang.String, byte[], org.apache.hc.core.http.ContentType, java.lang.String)
{
byte[] v;
org.apache.hc.core.http.ContentType v;
java.lang.String v, v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v, v;
org.apache.hc.client.http.entity.mime.ByteArrayBody v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: java.lang.String;
v := @parameter: byte[];
v := @parameter: org.apache.hc.core.http.ContentType;
v := @parameter: java.lang.String;
v = new org.apache.hc.client.http.entity.mime.ByteArrayBody;
specialinvoke v.<org.apache.hc.client.http.entity.mime.ByteArrayBody: void <init>(byte[],org.apache.hc.core.http.ContentType,java.lang.String)>(v, v, v);
v = virtualinvoke v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addPart(java.lang.String,org.apache.hc.client.http.entity.mime.ContentBody)>(v, v);
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addBinaryBody(java.lang.String, byte[])
{
byte[] v;
org.apache.hc.core.http.ContentType v;
java.lang.String v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v, v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: java.lang.String;
v := @parameter: byte[];
v = <org.apache.hc.core.http.ContentType: org.apache.hc.core.http.ContentType DEFAULT_BINARY>;
v = virtualinvoke v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addBinaryBody(java.lang.String,byte[],org.apache.hc.core.http.ContentType,java.lang.String)>(v, v, v, null);
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addBinaryBody(java.lang.String, java.io.File, org.apache.hc.core.http.ContentType, java.lang.String)
{
org.apache.hc.client.http.entity.mime.FileBody v;
org.apache.hc.core.http.ContentType v;
java.lang.String v, v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v, v;
java.io.File v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: java.lang.String;
v := @parameter: java.io.File;
v := @parameter: org.apache.hc.core.http.ContentType;
v := @parameter: java.lang.String;
v = new org.apache.hc.client.http.entity.mime.FileBody;
specialinvoke v.<org.apache.hc.client.http.entity.mime.FileBody: void <init>(java.io.File,org.apache.hc.core.http.ContentType,java.lang.String)>(v, v, v);
v = virtualinvoke v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addPart(java.lang.String,org.apache.hc.client.http.entity.mime.ContentBody)>(v, v);
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addBinaryBody(java.lang.String, java.io.File)
{
org.apache.hc.core.http.ContentType v;
java.lang.String v, v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v, v;
java.io.File v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: java.lang.String;
v := @parameter: java.io.File;
v = <org.apache.hc.core.http.ContentType: org.apache.hc.core.http.ContentType DEFAULT_BINARY>;
if v == null goto label;
v = virtualinvoke v.<java.io.File: java.lang.String getName()>();
goto label;
label:
v = null;
label:
v = virtualinvoke v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addBinaryBody(java.lang.String,java.io.File,org.apache.hc.core.http.ContentType,java.lang.String)>(v, v, v, v);
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addBinaryBody(java.lang.String, java.io.InputStream, org.apache.hc.core.http.ContentType, java.lang.String)
{
org.apache.hc.core.http.ContentType v;
java.lang.String v, v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v, v;
org.apache.hc.client.http.entity.mime.InputStreamBody v;
java.io.InputStream v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: java.lang.String;
v := @parameter: java.io.InputStream;
v := @parameter: org.apache.hc.core.http.ContentType;
v := @parameter: java.lang.String;
v = new org.apache.hc.client.http.entity.mime.InputStreamBody;
specialinvoke v.<org.apache.hc.client.http.entity.mime.InputStreamBody: void <init>(java.io.InputStream,org.apache.hc.core.http.ContentType,java.lang.String)>(v, v, v);
v = virtualinvoke v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addPart(java.lang.String,org.apache.hc.client.http.entity.mime.ContentBody)>(v, v);
return v;
}
public org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addBinaryBody(java.lang.String, java.io.InputStream)
{
org.apache.hc.core.http.ContentType v;
java.lang.String v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v, v;
java.io.InputStream v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v := @parameter: java.lang.String;
v := @parameter: java.io.InputStream;
v = <org.apache.hc.core.http.ContentType: org.apache.hc.core.http.ContentType DEFAULT_BINARY>;
v = virtualinvoke v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder addBinaryBody(java.lang.String,java.io.InputStream,org.apache.hc.core.http.ContentType,java.lang.String)>(v, v, v, null);
return v;
}
private java.lang.String generateBoundary()
{
java.nio.CharBuffer v;
char v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v;
java.util.concurrent.ThreadLocalRandom v;
int v, v, v;
char[] v, v;
java.lang.String v;
boolean v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v = staticinvoke <java.util.concurrent.ThreadLocalRandom: java.util.concurrent.ThreadLocalRandom current()>();
v = virtualinvoke v.<java.util.concurrent.ThreadLocalRandom: int nextInt(int,int)>(30, 41);
v = staticinvoke <java.nio.CharBuffer: java.nio.CharBuffer allocate(int)>(v);
label:
v = virtualinvoke v.<java.nio.CharBuffer: boolean hasRemaining()>();
if v == 0 goto label;
v = <org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: char[] MULTIPART_CHARS>;
v = <org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: char[] MULTIPART_CHARS>;
v = lengthof v;
v = virtualinvoke v.<java.util.concurrent.ThreadLocalRandom: int nextInt(int)>(v);
v = v[v];
virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer put(char)>(v);
goto label;
label:
virtualinvoke v.<java.nio.CharBuffer: java.nio.CharBuffer flip()>();
v = virtualinvoke v.<java.nio.CharBuffer: java.lang.String toString()>();
return v;
}
org.apache.hc.client.http.entity.mime.MultipartFormEntity buildEntity()
{
org.apache.hc.client.http.entity.mime.MultipartFormEntity v;
int[] v;
org.apache.hc.client.http.entity.mime.AbstractMultipartFormat v;
org.apache.hc.client.http.entity.mime.HttpStrictMultipart v;
boolean v, v, v, v;
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v;
org.apache.hc.client.http.entity.mime.HttpRFC7578Multipart v;
java.util.List v, v, v, v, v, v;
java.lang.Object[] v;
org.apache.hc.client.http.entity.mime.HttpRFC6532Multipart v;
long v;
org.apache.hc.client.http.entity.mime.LegacyMultipart v;
java.util.ArrayList v, v;
java.nio.charset.Charset v, v;
org.apache.hc.core.http.message.BasicNameValuePair v, v;
int v, v;
java.lang.String v, v;
org.apache.hc.client.http.entity.mime.HttpMultipartMode v, v;
java.util.Iterator v;
org.apache.hc.core.http.ContentType v, v, v, v, v, v, v, v, v;
org.apache.hc.core.http.NameValuePair[] v;
java.lang.Object v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: java.lang.String boundary>;
if v != null goto label;
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.core.http.ContentType contentType>;
if v == null goto label;
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.core.http.ContentType contentType>;
v = virtualinvoke v.<org.apache.hc.core.http.ContentType: java.lang.String getParameter(java.lang.String)>("boundary");
label:
if v != null goto label;
v = specialinvoke v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: java.lang.String generateBoundary()>();
label:
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: java.nio.charset.Charset charset>;
if v != null goto label;
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.core.http.ContentType contentType>;
if v == null goto label;
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.core.http.ContentType contentType>;
v = virtualinvoke v.<org.apache.hc.core.http.ContentType: java.nio.charset.Charset getCharset()>();
label:
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>(int)>(2);
v = new org.apache.hc.core.http.message.BasicNameValuePair;
specialinvoke v.<org.apache.hc.core.http.message.BasicNameValuePair: void <init>(java.lang.String,java.lang.String)>("boundary", v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
if v == null goto label;
v = new org.apache.hc.core.http.message.BasicNameValuePair;
v = virtualinvoke v.<java.nio.charset.Charset: java.lang.String name()>();
specialinvoke v.<org.apache.hc.core.http.message.BasicNameValuePair: void <init>(java.lang.String,java.lang.String)>("charset", v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
label:
v = <org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.core.http.NameValuePair[] EMPTY_NAME_VALUE_ARRAY>;
v = interfaceinvoke v.<java.util.List: java.lang.Object[] toArray(java.lang.Object[])>(v);
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.core.http.ContentType contentType>;
if v == null goto label;
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.core.http.ContentType contentType>;
v = virtualinvoke v.<org.apache.hc.core.http.ContentType: org.apache.hc.core.http.ContentType withParameters(org.apache.hc.core.http.NameValuePair[])>(v);
goto label;
label:
v = 0;
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: java.util.List multipartParts>;
if v == null goto label;
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: java.util.List multipartParts>;
v = interfaceinvoke v.<java.util.List: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = v instanceof org.apache.hc.client.http.entity.mime.FormBodyPart;
if v == 0 goto label;
v = 1;
label:
if v == 0 goto label;
v = <org.apache.hc.core.http.ContentType: org.apache.hc.core.http.ContentType MULTIPART_FORM_DATA>;
v = virtualinvoke v.<org.apache.hc.core.http.ContentType: org.apache.hc.core.http.ContentType withParameters(org.apache.hc.core.http.NameValuePair[])>(v);
goto label;
label:
v = staticinvoke <org.apache.hc.core.http.ContentType: org.apache.hc.core.http.ContentType create(java.lang.String,org.apache.hc.core.http.NameValuePair[])>("multipart/mixed", v);
label:
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: java.util.List multipartParts>;
if v == null goto label;
v = new java.util.ArrayList;
v = v;
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: java.util.List multipartParts>;
specialinvoke v.<java.util.ArrayList: void <init>(java.util.Collection)>(v);
goto label;
label:
v = staticinvoke <java.util.Collections: java.util.List emptyList()>();
label:
v = v;
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.HttpMultipartMode mode>;
if v == null goto label;
v = v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.HttpMultipartMode mode>;
goto label;
label:
v = <org.apache.hc.client.http.entity.mime.HttpMultipartMode: org.apache.hc.client.http.entity.mime.HttpMultipartMode STRICT>;
label:
v = <org.apache.hc.client.http.entity.mime.MultipartEntityBuilder$1: int[] $SwitchMap$org$apache$hc$client5$http$entity$mime$HttpMultipartMode>;
v = virtualinvoke v.<org.apache.hc.client.http.entity.mime.HttpMultipartMode: int ordinal()>();
v = v[v];
lookupswitch(v)
{
case 1: goto label;
case 2: goto label;
default: goto label;
};
label:
v = new org.apache.hc.client.http.entity.mime.LegacyMultipart;
specialinvoke v.<org.apache.hc.client.http.entity.mime.LegacyMultipart: void <init>(java.nio.charset.Charset,java.lang.String,java.util.List)>(v, v, v);
v = v;
goto label;
label:
v = <org.apache.hc.core.http.ContentType: org.apache.hc.core.http.ContentType MULTIPART_FORM_DATA>;
v = virtualinvoke v.<org.apache.hc.core.http.ContentType: boolean isSameMimeType(org.apache.hc.core.http.ContentType)>(v);
if v == 0 goto label;
if v != null goto label;
v = <java.nio.charset.StandardCharsets: java.nio.charset.Charset UTF_8>;
label:
v = new org.apache.hc.client.http.entity.mime.HttpRFC7578Multipart;
specialinvoke v.<org.apache.hc.client.http.entity.mime.HttpRFC7578Multipart: void <init>(java.nio.charset.Charset,java.lang.String,java.util.List)>(v, v, v);
v = v;
goto label;
label:
v = new org.apache.hc.client.http.entity.mime.HttpRFC6532Multipart;
specialinvoke v.<org.apache.hc.client.http.entity.mime.HttpRFC6532Multipart: void <init>(java.nio.charset.Charset,java.lang.String,java.util.List)>(v, v, v);
v = v;
goto label;
label:
v = new org.apache.hc.client.http.entity.mime.HttpStrictMultipart;
v = <java.nio.charset.StandardCharsets: java.nio.charset.Charset US_ASCII>;
specialinvoke v.<org.apache.hc.client.http.entity.mime.HttpStrictMultipart: void <init>(java.nio.charset.Charset,java.lang.String,java.util.List)>(v, v, v);
v = v;
label:
v = new org.apache.hc.client.http.entity.mime.MultipartFormEntity;
v = virtualinvoke v.<org.apache.hc.client.http.entity.mime.AbstractMultipartFormat: long getTotalLength()>();
specialinvoke v.<org.apache.hc.client.http.entity.mime.MultipartFormEntity: void <init>(org.apache.hc.client.http.entity.mime.AbstractMultipartFormat,org.apache.hc.core.http.ContentType,long)>(v, v, v);
return v;
}
public org.apache.hc.core.http.HttpEntity build()
{
org.apache.hc.client.http.entity.mime.MultipartEntityBuilder v;
org.apache.hc.client.http.entity.mime.MultipartFormEntity v;
v := @this: org.apache.hc.client.http.entity.mime.MultipartEntityBuilder;
v = virtualinvoke v.<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.client.http.entity.mime.MultipartFormEntity buildEntity()>();
return v;
}
static void <clinit>()
{
char[] v;
org.apache.hc.core.http.NameValuePair[] v;
java.lang.String v;
v = "-_1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
v = virtualinvoke v.<java.lang.String: char[] toCharArray()>();
<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: char[] MULTIPART_CHARS> = v;
v = newarray (org.apache.hc.core.http.NameValuePair)[0];
<org.apache.hc.client.http.entity.mime.MultipartEntityBuilder: org.apache.hc.core.http.NameValuePair[] EMPTY_NAME_VALUE_ARRAY> = v;
return;
}
}