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