jodd-madvoc/src/main/java/jodd/madvoc/interceptor/ServletConfigInterceptor.java
@Override
	public Object intercept(final ActionRequest actionRequest) throws Exception {
		HttpServletRequest servletRequest = actionRequest.getHttpServletRequest();

		// detect multipart request
		if (ServletUtil.isMultipartRequest(servletRequest)) {
			servletRequest = new MultipartRequestWrapper(servletRequest, fileUploader.get(), madvocEncoding.getEncoding());
			actionRequest.bind(servletRequest);
		}

		// do it
		inject(actionRequest);

		final Object result = actionRequest.invoke();

		outject(actionRequest);

		return result;
	}
@Override
	public Object intercept(final ActionRequest actionRequest) throws Exception {
		HttpServletRequest servletRequest = actionRequest.getHttpServletRequest();

		// detect multipart request
		if (ServletUtil.isMultipartRequest(servletRequest)) {
			servletRequest = new MultipartRequestWrapper(servletRequest, fileUploader.get(), madvocEncoding.getEncoding());
			actionRequest.bind(servletRequest);
		}

		// do it
		inject(actionRequest);

		final Object result = actionRequest.invoke();

		outject(actionRequest);

		return result;
	}
@ Override public Object intercept ( final ActionRequest actionRequest ) throws Exception { HttpServletRequest servletRequest = actionRequest . getHttpServletRequest ( ) ; // detect multipart request if ( ServletUtil . isMultipartRequest ( servletRequest ) ) { servletRequest = new MultipartRequestWrapper ( servletRequest , fileUploader . get ( ) , madvocEncoding . getEncoding ( ) ) ; actionRequest . bind ( servletRequest ) ; } // do it inject ( actionRequest ) ; final Object result = actionRequest . invoke ( ) ; outject ( actionRequest ) ; return result ; }
{@inheritDoc}
{