Interface RequestBuilder
-
- All Superinterfaces:
io.github.henryssondaniel.teacup.protocol.Builder<Request>
,io.github.henryssondaniel.teacup.protocol.NodeBuilder<Request,Request,RequestBuilder>
public interface RequestBuilder extends io.github.henryssondaniel.teacup.protocol.NodeBuilder<Request,Request,RequestBuilder>
Request builder.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequestBuilder
setArgument(io.github.henryssondaniel.teacup.core.assertion.GenericStringAssert<?> argument)
Sets the argument.RequestBuilder
setCommand(io.github.henryssondaniel.teacup.core.assertion.GenericStringAssert<?> command)
Sets the command.RequestBuilder
setReceivedTime(io.github.henryssondaniel.teacup.core.assertion.GenericLongAssert<?> receivedTime)
Sets the received time.
-
-
-
Method Detail
-
setArgument
RequestBuilder setArgument(io.github.henryssondaniel.teacup.core.assertion.GenericStringAssert<?> argument)
Sets the argument.- Parameters:
argument
- the argument- Returns:
- the request builder
- Since:
- 1.0
-
setCommand
RequestBuilder setCommand(io.github.henryssondaniel.teacup.core.assertion.GenericStringAssert<?> command)
Sets the command.- Parameters:
command
- the command- Returns:
- the request builder
- Since:
- 1.0
-
setReceivedTime
RequestBuilder setReceivedTime(io.github.henryssondaniel.teacup.core.assertion.GenericLongAssert<?> receivedTime)
Sets the received time.- Parameters:
receivedTime
- the received time- Returns:
- the response builder
- Since:
- 1.0
-
-