Package com.cuubez.core.context

Examples of com.cuubez.core.context.InterceptorRequestContext


    public void handleRequest(MessageContext messageContext) throws CuubezException {

        final String INTERCEPTOR_METHOD_NAME = "process";

        List<InterceptorProvider> interceptorProviders = ResourceRepository.getInstance().getInterceptorProviders();
        InterceptorRequestContext interceptorRequestContext = populateRequest(messageContext);

        for (InterceptorProvider interceptorProvider : interceptorProviders) {

            Class<?> clazz = interceptorProvider.getClazz();
            Object returnObject = null;
View Full Code Here


        String httpMethod = messageContext.getRequestConfigurationContext().getHttpMethod();
        HttpServletRequest request = messageContext.getRequestConfigurationContext().getRequest();
        Class<?> clazz = messageContext.getRequestContext().getSelectedResource().getSelectedMethodMetaData().getClazz();
        Method method = messageContext.getRequestContext().getSelectedResource().getSelectedMethodMetaData().getReflectionMethod();

        InterceptorRequestContext interceptorRequestContext = new InterceptorRequestContext(request, httpMethod, clazz, method);

        return interceptorRequestContext;
    }
View Full Code Here

TOP

Related Classes of com.cuubez.core.context.InterceptorRequestContext

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.