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

org.webpieces.http2client.api.dto.FullResponse Maven / Gradle / Ivy

There is a newer version: 2.1.109
Show newest version
package org.webpieces.http2client.api.dto;

import org.webpieces.data.api.DataWrapper;

import com.webpieces.http2.api.dto.highlevel.Http2Response;
import com.webpieces.http2.api.dto.highlevel.Http2Trailers;

public class FullResponse extends Http2Message {

	private Http2Response headers;

	public FullResponse() {
	}
	
	public FullResponse(Http2Response headers, DataWrapper fullData, Http2Trailers trailingHeaders) {
		super(fullData, trailingHeaders);
		this.headers = headers;
	}

	public Http2Response getHeaders() {
		return headers;
	}

	public void setHeaders(Http2Response headers) {
		this.headers = headers;
	}

	@Override
	public String toString() {
		return "FullResponse[headers="+headers+" body size="+payload.getReadableSize()+" trailers="+trailingHeaders;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy