Package org.takes.rq
Class RqFake
- java.lang.Object
-
- org.takes.rq.RqWrap
-
- org.takes.rq.RqFake
-
-
Constructor Summary
Constructors Constructor Description RqFake()
Ctor.RqFake(CharSequence method)
Ctor.RqFake(CharSequence method, CharSequence query)
Ctor.RqFake(CharSequence method, CharSequence query, CharSequence body)
Ctor.RqFake(List<String> head, byte[] body)
Ctor.RqFake(List<String> head, InputStream body)
Ctor.RqFake(List<String> head, CharSequence body)
Ctor.RqFake(List<String> head, org.cactoos.Text body)
Ctor.
-
-
-
Constructor Detail
-
RqFake
public RqFake()
Ctor.
-
RqFake
public RqFake(CharSequence method)
Ctor.- Parameters:
method
- HTTP method
-
RqFake
public RqFake(CharSequence method, CharSequence query)
Ctor.- Parameters:
method
- HTTP methodquery
- HTTP query
-
RqFake
public RqFake(CharSequence method, CharSequence query, CharSequence body)
Ctor.- Parameters:
method
- HTTP methodquery
- HTTP querybody
- HTTP body
-
RqFake
public RqFake(List<String> head, CharSequence body)
Ctor.- Parameters:
head
- Headbody
- Body
-
RqFake
public RqFake(List<String> head, org.cactoos.Text body)
Ctor.- Parameters:
head
- Headbody
- Body
-
RqFake
public RqFake(List<String> head, InputStream body)
Ctor.- Parameters:
head
- Headbody
- Body
-
-