code: public void setDispatchMode(int[] dispatchModeInts) {
  		//convert to DispatcherType
  		dispatchMode = new DispatcherType [dispatchModeInts.length];
  		
  		for (int i=0;i<dispatchModeInts.length;i++){
  			 int dispatchModeCur=dispatchModeInts[i];
  			 switch (dispatchModeCur) {
  			 	case 0:  dispatchMode[i]=DispatcherType.REQUEST; break;
  	            case 1:  dispatchMode[i]=DispatcherType.FORWARD; break;
  	            case 2:  dispatchMode[i]=DispatcherType.INCLUDE; break;
  	            case 3:  dispatchMode[i]=DispatcherType.ERROR; break;
  	            default: dispatchMode[i]=DispatcherType.REQUEST;break;
  	        }
  
  		}
      }
docs: public static final int FILTER_ERROR = 3;