Class MultipartProprietaryWriter
java.lang.Object
com.sun.enterprise.admin.remote.writer.MultipartProprietaryWriter
- All Implemented Interfaces:
ProprietaryWriter
- Author:
- martinmares
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final AtomicIntegerprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisWriteable(Object entity) protected static voidmultiWrite(Writer writer, String... args) protected voidwriteActionReport(Writer writer, OutputStream underOS, String boundary, org.glassfish.api.ActionReport ar) protected voidwriteParam(Writer writer, OutputStream underOS, String boundary, String key, String value) protected voidwritePayloadPart(Writer writer, OutputStream underOS, String boundary, org.glassfish.api.admin.Payload.Part part) voidwriteTo(Object entity, HttpURLConnection urlConnection) voidwriteTo(org.glassfish.api.admin.Payload.Outbound payload, org.glassfish.api.admin.ParameterMap parameters, org.glassfish.api.ActionReport ar, OutputStream os, MultipartProprietaryWriter.ContentTypeWriter contentTypeWriter)
-
Field Details
-
BOUNDARY_BASE
- See Also:
-
boundary_int
-
EOL
- See Also:
-
BOUNDERY_DELIMIT
- See Also:
-
-
Constructor Details
-
MultipartProprietaryWriter
public MultipartProprietaryWriter()
-
-
Method Details
-
isWriteable
- Specified by:
isWriteablein interfaceProprietaryWriter
-
writeTo
- Specified by:
writeToin interfaceProprietaryWriter- Throws:
IOException
-
writeParam
protected void writeParam(Writer writer, OutputStream underOS, String boundary, String key, String value) throws IOException - Throws:
IOException
-
writePayloadPart
protected void writePayloadPart(Writer writer, OutputStream underOS, String boundary, org.glassfish.api.admin.Payload.Part part) throws IOException - Throws:
IOException
-
writeActionReport
protected void writeActionReport(Writer writer, OutputStream underOS, String boundary, org.glassfish.api.ActionReport ar) throws IOException - Throws:
IOException
-
writeTo
public 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 - Throws:
IOException
-
multiWrite
- Throws:
IOException
-