org.webpieces.http2client.api.dto.Http2Message Maven / Gradle / Ivy
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