@Test public void testProcessActionNoProcessors02() { compositeRequestDataValueProcessor = new CompositeRequestDataValueProcessor(); String result = compositeRequestDataValueProcessor.processAction( request, "action", "method"); assertThat(result, is("action")); }
public String processAction(HttpServletRequest request, String action) { String result = action; for (RequestDataValueProcessor processor : processors) { result = processActionInvocationHelper.invokeProcessAction( processor, request, action, null); if (!action.equals(result)) { break; } } return result; }
CompositeRequestDataValueProcessor implements
                                                RequestDataValueProcessor { public String processAction(HttpServletRequest request, String action) { String result = action; for (RequestDataValueProcessor processor : processors) { result = processActionInvocationHelper.invokeProcessAction( processor, request, action, null); if (!action.equals(result)) { break; } } return result; } }
CompositeRequestDataValueProcessor implements
                                                RequestDataValueProcessor { public String processAction(HttpServletRequest request, String action) { String result = action; for (RequestDataValueProcessor processor : processors) { result = processActionInvocationHelper.invokeProcessAction( processor, request, action, null); if (!action.equals(result)) { break; } } return result; } CompositeRequestDataValueProcessor(
            RequestDataValueProcessor... processors); }
CompositeRequestDataValueProcessor implements
                                                RequestDataValueProcessor { public String processAction(HttpServletRequest request, String action) { String result = action; for (RequestDataValueProcessor processor : processors) { result = processActionInvocationHelper.invokeProcessAction( processor, request, action, null); if (!action.equals(result)) { break; } } return result; } CompositeRequestDataValueProcessor(
            RequestDataValueProcessor... processors); String processAction(HttpServletRequest request, String action); @Override String processAction(HttpServletRequest request, String action,
            String method); @Override String processFormFieldValue(HttpServletRequest request, String name,
            String value, String type); @Override Map<String, String> getExtraHiddenFields(
            HttpServletRequest request); @Override String processUrl(HttpServletRequest request, String url); }
CompositeRequestDataValueProcessor implements
                                                RequestDataValueProcessor { public String processAction(HttpServletRequest request, String action) { String result = action; for (RequestDataValueProcessor processor : processors) { result = processActionInvocationHelper.invokeProcessAction( processor, request, action, null); if (!action.equals(result)) { break; } } return result; } CompositeRequestDataValueProcessor(
            RequestDataValueProcessor... processors); String processAction(HttpServletRequest request, String action); @Override String processAction(HttpServletRequest request, String action,
            String method); @Override String processFormFieldValue(HttpServletRequest request, String name,
            String value, String type); @Override Map<String, String> getExtraHiddenFields(
            HttpServletRequest request); @Override String processUrl(HttpServletRequest request, String url);  }