|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.plugins.testing.MockPart
class MockPart extends java.lang.Object
Property Summary | |
---|---|
org.springframework.web.multipart.MultipartFile |
file
|
org.springframework.util.MultiValueMap |
headers
|
Constructor Summary | |
MockPart(org.springframework.web.multipart.MultipartFile file)
|
Method Summary | |
---|---|
void
|
delete()
|
java.lang.String
|
getContentType()
|
java.lang.String
|
getHeader(java.lang.String name)
|
java.util.Collection
|
getHeaderNames()
|
java.util.Collection
|
getHeaders(java.lang.String name)
|
java.io.InputStream
|
getInputStream()
|
java.lang.String
|
getName()
|
long
|
getSize()
|
void
|
write(java.lang.String fileName)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
org.springframework.web.multipart.MultipartFile file
org.springframework.util.MultiValueMap headers
Constructor Detail |
---|
MockPart(org.springframework.web.multipart.MultipartFile file)
Method Detail |
---|
void delete()
java.lang.String getContentType()
java.lang.String getHeader(java.lang.String name)
java.util.Collection getHeaderNames()
java.util.Collection getHeaders(java.lang.String name)
java.io.InputStream getInputStream()
java.lang.String getName()
long getSize()
void write(java.lang.String fileName)
Groovy Documentation