play.mvc
Class Http.MultipartFormData.FilePart

java.lang.Object
  extended by play.mvc.Http.MultipartFormData.FilePart
Enclosing class:
Http.MultipartFormData

public static class Http.MultipartFormData.FilePart
extends java.lang.Object

A file part.


Constructor Summary
Http.MultipartFormData.FilePart(java.lang.String key, java.lang.String filename, java.lang.String contentType, java.io.File file)
           
 
Method Summary
 java.lang.String getContentType()
          The file Content-Type
 java.io.File getFile()
          The File.
 java.lang.String getFilename()
          The file name.
 java.lang.String getKey()
          The part name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Http.MultipartFormData.FilePart

public Http.MultipartFormData.FilePart(java.lang.String key,
                                       java.lang.String filename,
                                       java.lang.String contentType,
                                       java.io.File file)
Method Detail

getKey

public java.lang.String getKey()
The part name.


getFilename

public java.lang.String getFilename()
The file name.


getContentType

public java.lang.String getContentType()
The file Content-Type


getFile

public java.io.File getFile()
The File.