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

com.fastchar.out.FastOutForward Maven / Gradle / Ivy

package com.fastchar.out;

import com.fastchar.core.FastAction;
import com.fastchar.core.FastChar;
import com.fastchar.core.FastDispatcher;

public class FastOutForward extends FastOut {


    @Override
    public void response(FastAction action) throws Exception {
        this.setDescription("forward to url '" + data + "'");
        new FastDispatcher(action.getRequest(), action.getResponse())
                .setContentUrl(String.valueOf(data))
                .setForwarder(action)
                .invoke();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy