com.atlassian.plugins.rest.common.multipart
Interface MultipartForm


public interface MultipartForm

A parsed multipart form

Since:
2.4

Method Summary
 FilePart getFilePart(java.lang.String field)
          Get the first file part for the given field name
 java.util.Collection<FilePart> getFileParts(java.lang.String field)
          Get the first file parts for the given field name
 

Method Detail

getFilePart

FilePart getFilePart(java.lang.String field)
Get the first file part for the given field name

Parameters:
field - The field name
Returns:
The first file part, or null if none was found

getFileParts

java.util.Collection<FilePart> getFileParts(java.lang.String field)
Get the first file parts for the given field name

Parameters:
field - The field name
Returns:
The first file part, or null if none was found


Copyright © 2014 Atlassian. All Rights Reserved.