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

org.smartboot.http.client.impl.HttpResponseImpl Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version
package org.smartboot.http.client.impl;

import org.smartboot.http.client.AbstractResponse;
import org.smartboot.http.client.HttpResponse;
import org.smartboot.socket.transport.AioSession;

import java.util.concurrent.CompletableFuture;

public class HttpResponseImpl extends AbstractResponse implements HttpResponse {
    /**
     * body内容
     */
    private String body;


    public HttpResponseImpl(AioSession session, CompletableFuture future) {
        super(session, future);
    }

    public String body() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    @Override
    public void reset() {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy