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,
org.glassfish.api.ActionReport ar) |
protected void |
writeParam(Writer writer,
OutputStream underOS,
String boundary,
String key,
String value) |
protected void |
writePayloadPart(Writer writer,
OutputStream underOS,
String boundary,
org.glassfish.api.admin.Payload.Part part) |
void |
writeTo(Object entity,
HttpURLConnection urlConnection) |
void |
writeTo(org.glassfish.api.admin.Payload.Outbound payload,
org.glassfish.api.admin.ParameterMap parameters,
org.glassfish.api.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 ProprietaryWriterpublic void writeTo(Object entity, HttpURLConnection urlConnection) throws IOException
writeTo in interface ProprietaryWriterIOExceptionprotected void writeParam(Writer writer, OutputStream underOS, String boundary, String key, String value) throws IOException
IOExceptionprotected void writePayloadPart(Writer writer, OutputStream underOS, String boundary, org.glassfish.api.admin.Payload.Part part) throws IOException
IOExceptionprotected void writeActionReport(Writer writer, OutputStream underOS, String boundary, org.glassfish.api.ActionReport ar) throws IOException
IOExceptionpublic void writeTo(org.glassfish.api.admin.Payload.Outbound payload,
org.glassfish.api.admin.ParameterMap parameters,
org.glassfish.api.ActionReport ar,
OutputStream os,
MultipartProprietaryWriter.ContentTypeWriter contentTypeWriter)
throws IOException
IOExceptionprotected static void multiWrite(Writer writer, String... args) throws IOException
IOExceptionCopyright © 2017. All rights reserved.