public final class RqFake extends RqWrap
The class is immutable and thread-safe.
Constructor and 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,
CharSequence body)
Ctor.
|
RqFake(List<String> head,
InputStream body)
Ctor.
|
public RqFake()
public RqFake(CharSequence method)
method
- HTTP methodpublic RqFake(CharSequence method, CharSequence query)
method
- HTTP methodquery
- HTTP querypublic RqFake(CharSequence method, CharSequence query, CharSequence body)
method
- HTTP methodquery
- HTTP querybody
- HTTP bodypublic RqFake(List<String> head, CharSequence body)
head
- Headbody
- Bodypublic RqFake(List<String> head, InputStream body)
head
- Headbody
- BodyCopyright © 2015 Take. All rights reserved.