| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private static final HttpRFC7578Multipart. | |
| private static final int | RADIX
Radix used in encoding and decoding. |
| Access | Constructor and Description |
|---|---|
| public | HttpRFC7578Multipart(final Charset
the charset to use. charset, final String the boundary string to use. boundary, final List<MultipartPart> the list of parts to include in the multipart message. parts, final String the optional preamble string to include before the first part. May be preamble, final String null.the optional epilogue string to include after the last part. May be epilogue)null.Constructs a new instance of |
| public | HttpRFC7578Multipart(final Charset
the charset to use. charset, final String the boundary string to use. boundary, final List<MultipartPart> the list of parts to include in the multipart message. parts)Constructs a new instance of |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static int | Returns: The numeric value represented by the character in radix 16.The byte to be converted. b)Returns the numeric value of the character |
| protected void | formatMultipartHeader(final MultipartPart part, final OutputStream out)
Implements abstract org. |
| public List | getParts()
Implements abstract org. |
| pack-priv static char | Returns: the upper case hex digit of the lower 4 bits of the int.the input int b)Returns the upper case hex digit of the lower 4 bits of the int. |
| parts | back to summary |
|---|---|
| private final List<MultipartPart> parts | |
| PERCENT_CODEC | back to summary |
|---|---|
| private static final HttpRFC7578Multipart. | |
| RADIX | back to summary |
|---|---|
| private static final int RADIX Radix used in encoding and decoding. | |
| HttpRFC7578Multipart | back to summary |
|---|---|
| public HttpRFC7578Multipart(final Charset charset, final String boundary, final List<MultipartPart> parts, final String preamble, final String epilogue) Constructs a new instance of
| |
| HttpRFC7578Multipart | back to summary |
|---|---|
| public HttpRFC7578Multipart(final Charset charset, final String boundary, final List<MultipartPart> parts) Constructs a new instance of
| |
| digit16 | back to summary |
|---|---|
| pack-priv static int digit16(final byte b) Returns the numeric value of the character
| |
| formatMultipartHeader | back to summary |
|---|---|
| protected void formatMultipartHeader(final MultipartPart part, final OutputStream out) throws IOException Implements abstract org. Doc from org. Write the multipart header fields; depends on the style.
| |
| getParts | back to summary |
|---|---|
| public List Implements abstract org.
| |
| hexDigit | back to summary |
|---|---|
| pack-priv static char hexDigit(final int b) Returns the upper case hex digit of the lower 4 bits of the int.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final BitSet | |
| private static final byte |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public byte[] |
| ALWAYSENCODECHARS | back to summary |
|---|---|
| private static final BitSet ALWAYSENCODECHARS | |
| ESCAPE_CHAR | back to summary |
|---|---|
| private static final byte ESCAPE_CHAR | |
| PercentCodec | back to summary |
|---|---|
| pack-priv PercentCodec() | |
| decode | back to summary |
|---|---|
| public byte[] decode(final byte[] bytes) | |
| encode | back to summary |
|---|---|
| public byte[] encode(final byte[] bytes) Percent-Encoding implementation based on RFC 3986 | |