Class MultipartRequestResolver

java.lang.Object
fr.paris.lutece.portal.util.mvc.binding.MultipartRequestResolver
All Implemented Interfaces:
ParameterResolver

@ApplicationScoped public class MultipartRequestResolver extends Object implements ParameterResolver
Resolver for parameters of type MultipartHttpServletRequest.

This class is responsible for resolving multipart HTTP requests in the context of an MVC request. It checks if the parameter type is MultipartHttpServletRequest and resolves the request object.

If the request is not of type MultipartHttpServletRequest, a ResolverResult.failed(T, java.util.List<fr.paris.lutece.portal.util.mvc.binding.BindingError>) is returned with an appropriate error message.

This class is annotated with ApplicationScoped, meaning it is managed by the CDI container and shared across the application.

See Also: