|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jersey.multipart.Boundary
public final class Boundary
Utility for creating boundary parameters.
Field Summary | |
---|---|
static java.lang.String |
BOUNDARY_PARAMETER
|
Constructor Summary | |
---|---|
Boundary()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BOUNDARY_PARAMETER
Constructor Detail |
---|
public Boundary()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |