org.webpieces.http2client.api.dto.Http2Message Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http2-client Show documentation
Show all versions of http2-client Show documentation
Strictly an http/2 client for when you know the server does http2 keeping it KISS
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