public final class RqFormFake extends Object implements RqForm
Constructor and Description |
---|
RqFormFake(Request req,
String... params)
Ctor.
|
public Iterable<String> param(CharSequence name) throws IOException
RqForm
param
in interface RqForm
name
- Parameter nameIOException
- if something fails reading parameterspublic Iterable<String> names() throws IOException
RqForm
names
in interface RqForm
IOException
- if something fails reading parameterspublic Iterable<String> head() throws IOException
Request
head
in interface Request
IOException
- If something goes wrongpublic InputStream body() throws IOException
Request
body
in interface Request
IOException
- If something goes wrongCopyright © 2015–2017 Take. All rights reserved.