Package com.blogger.tcuri.appserver

Examples of com.blogger.tcuri.appserver.ActionContext


    /**
     * {@inheritDoc}
     */
    @Override
    public Resolution execute(InterceptorChain chain) throws Exception {
        ActionContext context = ActionContext.get();
        Action action = chain.getAction();
        Class<? extends Action> actionClass = action.getClass();
        for (Field field : actionClass.getFields()) {
            Class<?> type = field.getType();
            if (type == String.class) {
                field.set(action, context.param(field.getName()));
            } else if (type == List.class) {
                // TODO
            }
        }
        return chain.execute();
View Full Code Here


            chain.doFilter(req, res);
            return;
        }

        HttpServletResponse response = (HttpServletResponse) res;
        ActionContext context = new ActionServletContext(request, response);
        try {
            framework.processDynamicResource(context);
        } finally {
            ActionServletContext.removeFromThread();
        }
View Full Code Here

TOP

Related Classes of com.blogger.tcuri.appserver.ActionContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.