if (holder.isAsyncSupported() != val) throw new IllegalStateException("Conflicting async-supported="+async+" for filter "+name+" in "+descriptor.getResource()); break;
/** Check if this filter applies to a particular dispatch type. * @param type The type of request: * {@link Handler#REQUEST}, {@link Handler#FORWARD}, {@link Handler#INCLUDE} or {@link Handler#ERROR}. * @return <code>true</code> if this filter applies */ boolean appliesTo(int type) { if (_dispatches==0) return type==REQUEST || type==ASYNC && _holder.isAsyncSupported(); return (_dispatches&type)!=0; }
/** Check if this filter applies to a particular dispatch type. * @param type The type of request: * {@link Handler#REQUEST}, {@link Handler#FORWARD}, {@link Handler#INCLUDE} or {@link Handler#ERROR}. * @return <code>true</code> if this filter applies */ boolean appliesTo(int type) { if (_dispatches==0) return type==REQUEST || type==ASYNC && _holder.isAsyncSupported(); return (_dispatches&type)!=0; }
/** Check if this filter applies to a particular dispatch type. * @param type The type of request: * {@link Handler#REQUEST}, {@link Handler#FORWARD}, {@link Handler#INCLUDE} or {@link Handler#ERROR}. * @return <code>true</code> if this filter applies */ boolean appliesTo(int type) { if (_dispatches==0) return type==REQUEST || type==ASYNC && _holder.isAsyncSupported(); return (_dispatches&type)!=0; }
/** Check if this filter applies to a particular dispatch type. * @param type The type of request: * {@link Handler#REQUEST}, {@link Handler#FORWARD}, {@link Handler#INCLUDE} or {@link Handler#ERROR}. * @return <code>true</code> if this filter applies */ boolean appliesTo(int type) { if (_dispatches==0) return type==REQUEST || type==ASYNC && _holder.isAsyncSupported(); return (_dispatches&type)!=0; }
/** Check if this filter applies to a particular dispatch type. * @param type The type of request: * {@link Handler#REQUEST}, {@link Handler#FORWARD}, {@link Handler#INCLUDE} or {@link Handler#ERROR}. * @return <code>true</code> if this filter applies */ boolean appliesTo(int type) { if (_dispatches==0) return type==REQUEST || type==ASYNC && _holder.isAsyncSupported(); return (_dispatches&type)!=0; }
/** Check if this filter applies to a particular dispatch type. * @param type The type of request: * {@link Handler#REQUEST}, {@link Handler#FORWARD}, {@link Handler#INCLUDE} or {@link Handler#ERROR}. * @return <code>true</code> if this filter applies */ boolean appliesTo(int type) { if (_dispatches==0) return type==REQUEST || type==ASYNC && _holder.isAsyncSupported(); return (_dispatches&type)!=0; }
/** Check if this filter applies to a particular dispatch type. * @param type The type of request: * {@link Handler#REQUEST}, {@link Handler#FORWARD}, {@link Handler#INCLUDE} or {@link Handler#ERROR}. * @return <code>true</code> if this filter applies */ boolean appliesTo(int type) { if (_dispatches==0) return type==REQUEST || type==ASYNC && _holder.isAsyncSupported(); return (_dispatches&type)!=0; }
/** Check if this filter applies to a particular dispatch type. * @param type The type of request: * {@link Handler#REQUEST}, {@link Handler#FORWARD}, {@link Handler#INCLUDE} or {@link Handler#ERROR}. * @return <code>true</code> if this filter applies */ boolean appliesTo(int type) { if (_dispatches==0) return type==REQUEST || type==ASYNC && _holder.isAsyncSupported(); return (_dispatches&type)!=0; }
LOG.debug("call filter " + _filterHolder); Filter filter= _filterHolder.getFilter(); if (_filterHolder.isAsyncSupported()) filter.doFilter(request, response, _next); else
LOG.debug("call filter " + _filterHolder); Filter filter= _filterHolder.getFilter(); if (_filterHolder.isAsyncSupported()) filter.doFilter(request, response, _next); else
Filter filter= holder.getFilter(); if (holder.isAsyncSupported() || !_baseRequest.isAsyncSupported())
if (!holder.isAsyncSupported() && _baseRequest.isAsyncSupported())
try if (!holder.isAsyncSupported() && requestAsyncSupported) _baseRequest.setAsyncSupported(false); filter.doFilter(request, response, this);
if (baseRequest.isAsyncSupported() && !_filterHolder.isAsyncSupported())
Filter filter= holder.getFilter(); if (holder.isAsyncSupported() || !_baseRequest.isAsyncSupported())
Filter filter= holder.getFilter(); if (holder.isAsyncSupported() || !_baseRequest.isAsyncSupported())
Filter filter= holder.getFilter(); if (holder.isAsyncSupported() || !_baseRequest.isAsyncSupported())
try if (!_filterHolder.isAsyncSupported() && requestAsyncSupported) baseRequest.setAsyncSupported(false); filter.doFilter(request, response, _next);
out.tag("async-supported",origin(md,ot + "async-supported"),holder.isAsyncSupported()?"true":"false");