public final class Boundary
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BOUNDARY_PARAMETER |
| Constructor and Description |
|---|
Boundary() |
| Modifier and Type | Method and Description |
|---|---|
static MediaType |
addBoundary(MediaType mediaType)
Transform a media type and add a boundary parameter with a unique value
if one is not already present.
|
static java.lang.String |
createBoundary()
Create a unique boundary.
|
public static final java.lang.String BOUNDARY_PARAMETER
public static MediaType addBoundary(MediaType mediaType)
mediaType, - if null then a media type of "multipart/mixed" with
a boundary parameter will be returned.public static java.lang.String createBoundary()
Copyright © 2016 Oracle Corporation. All Rights Reserved.