Class RequestWebScopeMultipart

  • All Implemented Interfaces:
    com.helger.commons.id.IHasID<String>, com.helger.datetime.domain.IHasCreationDateTime, com.helger.scope.IRequestScope, com.helger.scope.IScope, IRequestWebScope, IRequestWebScopeWithoutResponse, IWebScope

    public class RequestWebScopeMultipart
    extends RequestWebScope
    The default request web scope that also tries to parse multi part requests if the Content-Type matches .
    Author:
    Philip Helger
    • Constructor Detail

      • RequestWebScopeMultipart

        public RequestWebScopeMultipart​(@Nonnull
                                        jakarta.servlet.http.HttpServletRequest aHttpRequest,
                                        @Nonnull
                                        jakarta.servlet.http.HttpServletResponse aHttpResponse)
    • Method Detail

      • addSpecialRequestParams

        @OverrideOnDemand
        protected com.helger.commons.state.EChange addSpecialRequestParams()
        Description copied from class: RequestWebScope
        Callback method to add special parameters.
        Overrides:
        addSpecialRequestParams in class RequestWebScope
        Returns:
        EChange.CHANGED if some attributes were added, false if not. If special attributes were added, existing attributes are kept and will not be overwritten with HTTP servlet request parameters!
      • isMultipartRequest

        public final boolean isMultipartRequest()
        Returns:
        true if this request scope was parsed as multipart, false if not.
        Since:
        9.1.1