Interface ResponseBuilder

    • 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.
      • Methods inherited from interface io.github.henryssondaniel.teacup.protocol.Builder

        build
      • Methods inherited from interface io.github.henryssondaniel.teacup.protocol.NodeBuilder

        setAssertion
    • 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