Class HttpRequestNoBody

    • Constructor Detail

      • HttpRequestNoBody

        HttpRequestNoBody​(Config config,
                          HttpMethod method,
                          java.lang.String url)
    • Method Detail

      • getBody

        public java.util.Optional<Body> getBody()
        Specified by:
        getBody in interface HttpRequest<GetRequest>
        Returns:
        if the request has a body it will be here.