private DispatcherType getDispatcherType(HttpServletRequest request, ServletContext context)
   {
      for (DispatcherTypeProvider provider : dispatcherProviders) {
         DispatcherType dispatcherType = provider.getDispatcherType(request, context);
         if (dispatcherType != null) {
            return dispatcherType;
         }
      }
      throw new IllegalStateException("Unable to determine dispatcher type of current request");
   }
private DispatcherType getDispatcherType(HttpServletRequest request, ServletContext context)
   {
      for (DispatcherTypeProvider provider : dispatcherProviders) {
         DispatcherType dispatcherType = provider.getDispatcherType(request, context);
         if (dispatcherType != null) {
            return dispatcherType;
         }
      }
      throw new IllegalStateException("Unable to determine dispatcher type of current request");
   }
private DispatcherType getDispatcherType ( HttpServletRequest request , ServletContext context ) { for ( DispatcherTypeProvider provider : dispatcherProviders ) { DispatcherType dispatcherType = provider . getDispatcherType ( request , context ) ; if ( dispatcherType != null ) { return dispatcherType ; } } throw new IllegalStateException ( "Unable to determine dispatcher type of current request" ) ; }
Determines the {@link DispatcherType} of the current request using the {@link DispatcherTypeProvider} SPI.
Determines the {