public class MultipartProprietaryWriter extends Object implements ProprietaryWriter
Modifier and Type | Class and Description |
---|---|
static interface |
MultipartProprietaryWriter.ContentTypeWriter |
Modifier and Type | Field and Description |
---|---|
protected static String |
BOUNDARY_BASE |
protected static AtomicInteger |
boundary_int |
protected static String |
BOUNDERY_DELIMIT |
protected static String |
EOL |
Constructor and Description |
---|
MultipartProprietaryWriter() |
Modifier and Type | Method and Description |
---|---|
boolean |
isWriteable(Object entity) |
protected static void |
multiWrite(Writer writer,
String... args) |
protected void |
writeActionReport(Writer writer,
OutputStream underOS,
String boundary,
ActionReport ar) |
protected void |
writeParam(Writer writer,
OutputStream underOS,
String boundary,
String key,
String value) |
protected void |
writePayloadPart(Writer writer,
OutputStream underOS,
String boundary,
Payload.Part part) |
void |
writeTo(Object entity,
HttpURLConnection urlConnection) |
void |
writeTo(Payload.Outbound payload,
ParameterMap parameters,
ActionReport ar,
OutputStream os,
MultipartProprietaryWriter.ContentTypeWriter contentTypeWriter) |
protected static final String BOUNDARY_BASE
protected static final AtomicInteger boundary_int
protected static final String EOL
protected static final String BOUNDERY_DELIMIT
public boolean isWriteable(Object entity)
isWriteable
in interface ProprietaryWriter
public void writeTo(Object entity, HttpURLConnection urlConnection) throws IOException
writeTo
in interface ProprietaryWriter
IOException
protected void writeParam(Writer writer, OutputStream underOS, String boundary, String key, String value) throws IOException
IOException
protected void writePayloadPart(Writer writer, OutputStream underOS, String boundary, Payload.Part part) throws IOException
IOException
protected void writeActionReport(Writer writer, OutputStream underOS, String boundary, ActionReport ar) throws IOException
IOException
public void writeTo(Payload.Outbound payload, ParameterMap parameters, ActionReport ar, OutputStream os, MultipartProprietaryWriter.ContentTypeWriter contentTypeWriter) throws IOException
IOException
protected static void multiWrite(Writer writer, String... args) throws IOException
IOException
Copyright © 2019. All rights reserved.