org.smartboot.http.client.impl.ResponseAttachment Maven / Gradle / Ivy
/*******************************************************************************
* 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;
}
}