com.iprogrammerr.gentle.request.template.RequestEnvelope Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gentle-request Show documentation
Show all versions of gentle-request Show documentation
Compact library for creating and reading http requests.
The newest version!
package com.iprogrammerr.gentle.request.template;
import java.util.List;
import com.iprogrammerr.gentle.request.Header;
import com.iprogrammerr.gentle.request.Request;
public abstract class RequestEnvelope implements Request {
private final Request base;
public RequestEnvelope(Request base) {
this.base = base;
}
@Override
public final String method() {
return this.base.method();
}
@Override
public final String url() {
return this.base.url();
}
@Override
public final void addHeader(Header header) {
this.base.addHeader(header);
}
@Override
public final List headers() {
return this.base.headers();
}
@Override
public final byte[] body() throws Exception {
return this.base.body();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy