Package | Description |
---|---|
ratpack.groovy.test.handling | |
ratpack.test.handling |
Test fixtures for exercising
Handler implementations without
start a full EmbeddedApp . |
ratpack.test.http |
Test fixtures that provide HTTP client interfaces to applications under test.
|
Modifier and Type | Method and Description |
---|---|
MultipartFileSpec |
GroovyRequestFixture.file()
A specification of a file to upload (see RFC2388)
|
Modifier and Type | Method and Description |
---|---|
MultipartFileSpec |
RequestFixture.file()
A specification of a file to upload (see RFC2388)
|
Modifier and Type | Method and Description |
---|---|
MultipartFileSpec |
MultipartFileSpec.contentType(java.lang.String contentType)
Specify the content type
|
MultipartFileSpec |
MultipartFileSpec.data(byte[] data)
Specify the file contents
|
MultipartFileSpec |
MultipartFileSpec.data(java.lang.String data)
Specify the file contents
|
MultipartFileSpec |
MultipartFileSpec.encoding(java.lang.String encoding)
Specify the form field
|
MultipartFileSpec |
MultipartFileSpec.field(java.lang.String field)
Specify the form field
|
MultipartFileSpec |
MultipartFormSpec.file()
A specification of a file to upload (see RFC2388)
|
MultipartFileSpec |
MultipartFileSpec.name(java.lang.String name)
Specify the uploaded filename
|