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

com.iprogrammerr.bright.server.response.ResponseEnvelope Maven / Gradle / Ivy

package com.iprogrammerr.bright.server.response;

import java.util.List;

import com.iprogrammerr.bright.server.header.Header;

public abstract class ResponseEnvelope implements Response {

    private final Response base;

    public ResponseEnvelope(Response base) {
	this.base = base;
    }

    @Override
    public final int code() {
	return base.code();
    }

    @Override
    public final List
headers() { return base.headers(); } @Override public final boolean hasBody() { return base.hasBody(); } @Override public final byte[] body() { return base.body(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy