jaroslav@1189: /**
jaroslav@1189: * HTML via Java(tm) Language Bindings
jaroslav@1189: * Copyright (C) 2013 Jaroslav Tulach
jaroslav@1189: *
jaroslav@1189: * This program is free software: you can redistribute it and/or modify
jaroslav@1189: * it under the terms of the GNU General Public License as published by
jaroslav@1189: * the Free Software Foundation, version 2 of the License.
jaroslav@1189: *
jaroslav@1189: * This program is distributed in the hope that it will be useful,
jaroslav@1189: * but WITHOUT ANY WARRANTY; without even the implied warranty of
jaroslav@1189: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
jaroslav@1189: * GNU General Public License for more details. apidesign.org
jaroslav@1189: * designates this particular file as subject to the
jaroslav@1189: * "Classpath" exception as provided by apidesign.org
jaroslav@1189: * in the License file that accompanied this code.
jaroslav@1189: *
jaroslav@1189: * You should have received a copy of the GNU General Public License
jaroslav@1189: * along with this program. Look for COPYING file in the top folder.
jaroslav@1189: * If not, see http://wiki.apidesign.org/wiki/GPLwithClassPathException
jaroslav@1189: */
jaroslav@1189: package org.apidesign.html.ko2brwsr;
jaroslav@1189:
jaroslav@1199: import java.io.ByteArrayOutputStream;
jaroslav@1196: import java.io.IOException;
jaroslav@1196: import java.io.InputStream;
jaroslav@1196: import java.io.InputStreamReader;
jaroslav@1220: import net.java.html.BrwsrCtx;
jaroslav@1220: import org.apidesign.html.context.spi.Contexts;
jaroslav@1189: import org.apidesign.html.json.spi.FunctionBinding;
jaroslav@1189: import org.apidesign.html.json.spi.JSONCall;
jaroslav@1189: import org.apidesign.html.json.spi.PropertyBinding;
jaroslav@1189: import org.apidesign.html.json.spi.Technology;
jaroslav@1189: import org.apidesign.html.json.spi.Transfer;
jaroslav@1189:
jaroslav@1189: /**
jaroslav@1189: *
jaroslav@1189: * @author Jaroslav Tulach
jaroslav@1189: */
jaroslav@1220: final class BrwsrCtxImpl implements Technology