Package org.takes.rq

Class RqWithBody

  • All Implemented Interfaces:
    Body, Head, Request

    public final class RqWithBody
    extends RqWrap
    Request with body.

    The class is immutable and thread-safe.

    Since:
    0.22
    • Constructor Detail

      • RqWithBody

        public RqWithBody​(Request req,
                          CharSequence bdy)
        Ctor.
        Parameters:
        req - The request.
        bdy - The body.