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
setCode(io.github.henryssondaniel.teacup.core.assertion.GenericIntegerAssert<?> code)
Sets the code.ResponseBuilder
setText(io.github.henryssondaniel.teacup.core.assertion.GenericStringAssert<?> text)
Sets the text.
-
-
-
Method Detail
-
setCode
ResponseBuilder setCode(io.github.henryssondaniel.teacup.core.assertion.GenericIntegerAssert<?> code)
Sets the code.- Parameters:
code
- the code- Returns:
- the response builder
- Since:
- 1.0
-
setText
ResponseBuilder setText(io.github.henryssondaniel.teacup.core.assertion.GenericStringAssert<?> text)
Sets the text.- Parameters:
text
- the text- Returns:
- the response builder
- Since:
- 1.0
-
-