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

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

Go to download

Strictly an http/2 client for when you know the server does http2 keeping it KISS

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

import org.webpieces.data.api.DataWrapper;

import com.webpieces.hpack.api.dto.Http2Trailers;

public abstract class Http2Message {

	protected DataWrapper payload;
	protected Http2Trailers trailingHeaders;
	
	public Http2Message() {}

	public Http2Message(DataWrapper payload, Http2Trailers trailingHeaders) {
		super();
		this.payload = payload;
		this.trailingHeaders = trailingHeaders;
	}

	public DataWrapper getPayload() {
		return payload;
	}

	public void setPayload(DataWrapper payload) {
		this.payload = payload;
	}

	public Http2Trailers getTrailingHeaders() {
		return trailingHeaders;
	}

	public void setTrailingHeaders(Http2Trailers trailingHeaders) {
		this.trailingHeaders = trailingHeaders;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy