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

io.github.saoxuequ.http.request.core.EntityRequest Maven / Gradle / Ivy

package io.github.saoxuequ.http.request.core;

import io.github.saoxuequ.http.request.common.Readable;

import java.net.URI;
import java.util.List;
import java.util.Map;

public class EntityRequest extends Request {
    private final Entity entity;

    public EntityRequest(String method, URI url,
                         Map> headers,
                         Entity entity,
                         Readable responseReader) {
        super(method, url, headers, responseReader);
        this.entity = entity;
    }

    public Entity getEntity() {
        return entity;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy