Slice.Wrap| Constructor and Description |
|---|
AssertSlice(org.hamcrest.Matcher<? super RequestLineFrom> line)
Assert slice request line.
|
AssertSlice(org.hamcrest.Matcher<? super RequestLineFrom> line,
org.hamcrest.Matcher<? super Headers> head,
org.hamcrest.Matcher<? super org.reactivestreams.Publisher<ByteBuffer>> body)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
response(String lne,
Iterable<Map.Entry<String,String>> headers,
org.reactivestreams.Publisher<ByteBuffer> publ)
Respond to a http request.
|
public AssertSlice(org.hamcrest.Matcher<? super RequestLineFrom> line)
line - Request line matcherpublic AssertSlice(org.hamcrest.Matcher<? super RequestLineFrom> line, org.hamcrest.Matcher<? super Headers> head, org.hamcrest.Matcher<? super org.reactivestreams.Publisher<ByteBuffer>> body)
line - Request line matcherhead - Request headers matcherbody - Request body matcherCopyright © 2012–2020 jcabi.com. All rights reserved.