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

colesico.framework.weblet.teleapi.reader.WebletReaderProxy Maven / Gradle / Ivy

package colesico.framework.weblet.teleapi.reader;

import colesico.framework.telehttp.HttpTRContext;
import colesico.framework.telehttp.HttpTeleReader;
import colesico.framework.weblet.teleapi.WebletTRContext;
import colesico.framework.weblet.teleapi.WebletTeleReader;

public final class WebletReaderProxy implements WebletTeleReader {

    private final HttpTeleReader reader;

    private WebletReaderProxy(HttpTeleReader reader) {
        this.reader = reader;
    }

    @Override
    public V read(WebletTRContext context) {
        return reader.read(context);
    }

    public static  WebletReaderProxy of(HttpTeleReader reader) {
        return new WebletReaderProxy(reader);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy