public class MultiPartSpecificationImpl extends Object implements MultiPartSpecification, groovy.lang.GroovyObject
| Constructor and Description |
|---|
MultiPartSpecificationImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCharset() |
Object |
getContent() |
String |
getControlName() |
boolean |
getControlNameSpecifiedExplicitly() |
String |
getFileName() |
boolean |
getFileNameSpecifiedExplicitly() |
Map |
getHeaders() |
groovy.lang.MetaClass |
getMetaClass() |
String |
getMimeType() |
boolean |
hasFileName() |
boolean |
isControlNameSpecifiedExplicitly() |
boolean |
isFileNameSpecifiedExplicitly() |
void |
setCharset(String value) |
void |
setContent(Object value) |
void |
setControlName(String value) |
void |
setControlNameSpecifiedExplicitly(boolean value) |
void |
setFileName(String fileName) |
void |
setFileNameSpecifiedExplicitly(boolean value) |
void |
setHeaders(Map value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setMimeType(String value) |
String |
toString() |
public void setContent(Object value)
public void setControlName(String value)
public void setMimeType(String value)
public void setCharset(String value)
public boolean getControlNameSpecifiedExplicitly()
public boolean isControlNameSpecifiedExplicitly()
public void setControlNameSpecifiedExplicitly(boolean value)
public boolean getFileNameSpecifiedExplicitly()
public boolean isFileNameSpecifiedExplicitly()
public void setFileNameSpecifiedExplicitly(boolean value)
public void setHeaders(Map value)
public Object getContent()
getContent in interface MultiPartSpecificationpublic String getControlName()
getControlName in interface MultiPartSpecificationnull.public String getMimeType()
getMimeType in interface MultiPartSpecificationnull.public String getCharset()
getCharset in interface MultiPartSpecificationnull.public String getFileName()
getFileName in interface MultiPartSpecificationnull.public Map getHeaders()
getHeaders in interface MultiPartSpecificationpublic boolean hasFileName()
hasFileName in interface MultiPartSpecificationtrue if this multi-part specification contains a filename, false otherwise.public void setFileName(String fileName)
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectCopyright © 2010–2020. All rights reserved.