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

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

There is a newer version: 1.4.3
Show newest version
/*******************************************************************************
 * Copyright (c) 2017-2021, org.smartboot. All rights reserved.
 * project name: smart-http
 * file name: RequestAttachment.java
 * Date: 2021-05-26
 * Author: sandao ([email protected])
 ******************************************************************************/

package org.smartboot.http.client.impl;

import org.smartboot.http.client.decode.HeaderDecoder;

/**
 * @author 三刀([email protected])
 * @version V1.0 , 2021/5/26
 */
public class ResponseAttachment {
    private final Response response;

    private HeaderDecoder decoder;

    public ResponseAttachment(Response response) {
        this.response = response;
    }

    public Response getResponse() {
        return response;
    }

    public HeaderDecoder getDecoder() {
        return decoder;
    }

    public void setDecoder(HeaderDecoder decoder) {
        this.decoder = decoder;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy