@Override
    public void setEntity(final HttpEntity entity) {
        throw new IllegalStateException(METHOD_NAME + " requests may not include an entity.");
    }
Constructs a new instance initialized with the given URI.

@param uri a non-null request URI.
@throws IllegalArgumentException if the uri is invalid.
httpclient5/src/main/java/org/apache/hc/client5/http/classic/methods/HttpTrace.java