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() |
groovy.lang.MetaClass |
getMetaClass() |
String |
getMimeType() |
Object |
getProperty(String property) |
boolean |
hasFileName() |
Object |
invokeMethod(String method,
Object arguments) |
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 |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setMimeType(String value) |
void |
setProperty(String property,
Object value) |
String |
toString() |
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
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 Object getContent()
getContent
in interface MultiPartSpecification
public String getControlName()
getControlName
in interface MultiPartSpecification
null
.public String getMimeType()
getMimeType
in interface MultiPartSpecification
null
.public String getCharset()
getCharset
in interface MultiPartSpecification
null
.public String getFileName()
getFileName
in interface MultiPartSpecification
null
.public boolean hasFileName()
hasFileName
in interface MultiPartSpecification
true
if this multi-part specification contains a filename, false
otherwise.public void setFileName(String fileName)
Copyright © 2010–2017. All rights reserved.