Interface ResponseBuilder
-
- All Superinterfaces:
io.github.henryssondaniel.teacup.protocol.Builder<Response>
,io.github.henryssondaniel.teacup.protocol.NodeBuilder<Response,Response,ResponseBuilder>
public interface ResponseBuilder extends io.github.henryssondaniel.teacup.protocol.NodeBuilder<Response,Response,ResponseBuilder>
Response builder.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseBuilder
setData(io.github.henryssondaniel.teacup.core.assertion.GenericByteArrayAssert<?> data)
Sets the data.ResponseBuilder
setDataAsString(io.github.henryssondaniel.teacup.core.assertion.GenericStringAssert<?> dataAsString)
Sets the data as string.
-
-
-
Method Detail
-
setData
ResponseBuilder setData(io.github.henryssondaniel.teacup.core.assertion.GenericByteArrayAssert<?> data)
Sets the data.- Parameters:
data
- the data- Returns:
- the response builder
- Since:
- 1.0
-
setDataAsString
ResponseBuilder setDataAsString(io.github.henryssondaniel.teacup.core.assertion.GenericStringAssert<?> dataAsString)
Sets the data as string.- Parameters:
dataAsString
- the data as string- Returns:
- the response builder
- Since:
- 1.0
-
-