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

org.redkalex.htel.HttpTemplateRender Maven / Gradle / Ivy

There is a newer version: 2.7.7
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this referid file, choose Tools | Templates
 * and open the referid in the editor.
 */
package org.redkalex.htel;

import org.redkale.convert.Convert;
import org.redkale.net.http.*;
import org.redkale.util.AnyValue;

/**
 * Http Template Express Language
 * 
 * 尚未实现
 *
 * @author zhangjx
 */
public class HttpTemplateRender implements org.redkale.net.http.HttpRender {

    @Override
    public void init(HttpContext context, AnyValue config) {
    }

    @Override
    public void renderTo(HttpRequest request, HttpResponse response, Convert convert, HttpScope scope) {
        response.setContentType("text/html; charset=utf-8");
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Class getType() {
        return HttpScope.class;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy