Class EmbeddedResponseBuilder


  • public class EmbeddedResponseBuilder
    extends Object
    The builder so you can easily build instances of EmbeddedResponse.
    Author:
    Manfred Riem (mriem@manorrock.com)
    See Also:
    EmbeddedResponse
    • Constructor Detail

      • EmbeddedResponseBuilder

        public EmbeddedResponseBuilder()
        Constructor.
    • Method Detail

      • bodyOnly

        public EmbeddedResponseBuilder bodyOnly​(boolean bodyOnly)
        Set the body only flag.
        Parameters:
        bodyOnly - the body only flag.
        Returns:
        the builder.
      • build

        public EmbeddedResponse build()
        Build the response.
        Returns:
        the response.