Top Description Fields Constructors Methods
org.glassfish.grizzly.http.multipart

public Class MultipartContext

extends Object
Class Inheritance
Imports
java.util.Collections, .Map

Contains auxiliary information about multipart processing.
Author
Alexey Stashok

Field Summary

Modifier and TypeField and Description
private final String
public static final String
private final String
private final Map<String, String>
public static final String
public static final String
public static final String

Constructor Summary

AccessConstructor and Description
public
MultipartContext(final String boundary, final String contentType, final Map<String, String> contentTypeAttributes)

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the multipart boundary string.
getBoundary
()

Get the multipart boundary string.

public String

Returns:

complete multipart's content-type.
getContentType
()

Returns complete multipart's content-type.

public Map<String, String>

Returns:

non-modifiable map, which contains multipart's content-type attributes.
getContentTypeAttributes
()

Returns non-modifiable map, which contains multipart's content-type attributes.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

boundaryback to summary
private final String boundary
BOUNDARY_ATTRback to summary
public static final String BOUNDARY_ATTR
contentTypeback to summary
private final String contentType
contentTypeAttributesback to summary
private final Map<String, String> contentTypeAttributes
START_ATTRback to summary
public static final String START_ATTR
START_INFO_ATTRback to summary
public static final String START_INFO_ATTR
TYPE_ATTRback to summary
public static final String TYPE_ATTR

Constructor Detail

MultipartContextback to summary
public MultipartContext(final String boundary, final String contentType, final Map<String, String> contentTypeAttributes)

Method Detail

getBoundaryback to summary
public String getBoundary()

Get the multipart boundary string.

Returns:String

the multipart boundary string.

getContentTypeback to summary
public String getContentType()

Returns complete multipart's content-type.

Returns:String

complete multipart's content-type.

getContentTypeAttributesback to summary
public Map<String, String> getContentTypeAttributes()

Returns non-modifiable map, which contains multipart's content-type attributes.

Returns:Map<String, String>

non-modifiable map, which contains multipart's content-type attributes.