Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2004-2010 Oracle Corporation. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: Kohsuke Kawaguchi /
package org.kohsuke.stapler;

Kohsuke Kawaguchi
abstract class NameBasedDispatcher extends Dispatcher {
    protected final String name;
    private final int argCount;
    protected NameBasedDispatcher(String nameint argCount) {
        this. = name;
        this. = argCount;
    protected NameBasedDispatcher(String name) {
    public final boolean dispatch(RequestImpl reqResponseImpl rspObject node)
        if(!req.tokens.hasMore() || !req.tokens.peek().equals())
            return false;
            return false;;
        return doDispatch(req,rsp,node);
    protected abstract boolean doDispatch(RequestImpl reqResponseImpl rspObject node)
New to GrepCode? Check out our FAQ X