All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.resteasy.reactive.client.impl.RequestSpec Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package org.jboss.resteasy.reactive.client.impl;

import org.jboss.resteasy.reactive.common.jaxrs.ConfigurationImpl;

public class RequestSpec {
    final ConfigurationImpl configuration;
    final ClientRequestHeaders headers;

    boolean chunked;

    public RequestSpec(ConfigurationImpl configuration) {
        this.configuration = configuration;
        headers = new ClientRequestHeaders(configuration);
    }

    public RequestSpec(RequestSpec requestSpec) {
        this.configuration = requestSpec.configuration;
        this.headers = new ClientRequestHeaders(configuration);
        this.headers.headers.putAll(requestSpec.headers.headers);
        this.chunked = requestSpec.chunked;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy