com.sun.jersey.multipart
Class MultiPartMediaTypes

java.lang.Object
  extended by com.sun.jersey.multipart.MultiPartMediaTypes

public final class MultiPartMediaTypes
extends Object

Convenience MediaType (and associated String) manifest constants.


Field Summary
static String MULTIPART_ALTERNATIVE
          "multipart/alternative"
static MediaType MULTIPART_ALTERNATIVE_TYPE
          "multipart/alternative"
static String MULTIPART_DIGEST
          "multipart/digest"
static MediaType MULTIPART_DIGEST_TYPE
          "multipart/digest"
static String MULTIPART_MIXED
          "multipart/mixed"
static MediaType MULTIPART_MIXED_TYPE
          "multipart/mixed"
static String MULTIPART_PARALLEL
          "multipart/parallel"
static MediaType MULTIPART_PARELLEL_TYPE
          "multipart/parallel"
 
Constructor Summary
MultiPartMediaTypes()
           
 
Method Summary
static MediaType createAlternative()
           
static MediaType createDigest()
           
static MediaType createFormData()
           
static MediaType createMixed()
           
static MediaType createParallel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MULTIPART_ALTERNATIVE

public static final String MULTIPART_ALTERNATIVE
"multipart/alternative"

See Also:
Constant Field Values

MULTIPART_ALTERNATIVE_TYPE

public static final MediaType MULTIPART_ALTERNATIVE_TYPE
"multipart/alternative"


MULTIPART_DIGEST

public static final String MULTIPART_DIGEST
"multipart/digest"

See Also:
Constant Field Values

MULTIPART_DIGEST_TYPE

public static final MediaType MULTIPART_DIGEST_TYPE
"multipart/digest"


MULTIPART_MIXED

public static final String MULTIPART_MIXED
"multipart/mixed"

See Also:
Constant Field Values

MULTIPART_MIXED_TYPE

public static final MediaType MULTIPART_MIXED_TYPE
"multipart/mixed"


MULTIPART_PARALLEL

public static final String MULTIPART_PARALLEL
"multipart/parallel"

See Also:
Constant Field Values

MULTIPART_PARELLEL_TYPE

public static final MediaType MULTIPART_PARELLEL_TYPE
"multipart/parallel"

Constructor Detail

MultiPartMediaTypes

public MultiPartMediaTypes()
Method Detail

createAlternative

public static MediaType createAlternative()
Returns:
a "multipart/alternative" with a boundary parameter.

createDigest

public static MediaType createDigest()
Returns:
a "multipart/digest" with a boundary parameter.

createMixed

public static MediaType createMixed()
Returns:
a "multipart/mixed" with a boundary parameter.

createParallel

public static MediaType createParallel()
Returns:
a "multipart/parallel" with a boundary parameter.

createFormData

public static MediaType createFormData()
Returns:
a "multipart/form-data" with a boundary parameter.


Copyright © 2013 Oracle Corporation. All Rights Reserved.