Java 类org.apache.catalina.deploy.ContextHandler 实例源码

项目:tomcat7    文件:WebRuleSet.java   
/**
 * Process the body text of this element.
 *
 * @param namespace the namespace URI of the matching element, or an 
 *   empty string if the parser is not namespace aware or the element has
 *   no namespace
 * @param name the local name if the parser is namespace aware, or just 
 *   the element name otherwise
 * @param text The body text of this element
 */
@Override
public void body(String namespace, String name, String text)
        throws Exception {
    String namespaceuri = null;
    String localpart = text;
    int colon = text.indexOf(':');
    if (colon >= 0) {
        String prefix = text.substring(0,colon);
        namespaceuri = digester.findNamespaceURI(prefix);
        localpart = text.substring(colon+1);
    }
    ContextHandler contextHandler = (ContextHandler)digester.peek();
    contextHandler.addSoapHeaders(localpart,namespaceuri);
}
项目:lams    文件:WebRuleSet.java   
public void body(String text)
    throws Exception {
    String namespaceuri = null;
    String localpart = text;
    int colon = text.indexOf(':');
    if (colon >= 0) {
        String prefix = text.substring(0,colon);
        namespaceuri = digester.findNamespaceURI(prefix);
        localpart = text.substring(colon+1);
    }
    ContextHandler contextHandler = (ContextHandler)digester.peek();
    contextHandler.addSoapHeaders(localpart,namespaceuri);
}
项目:lazycat    文件:WebRuleSet.java   
/**
 * Process the body text of this element.
 *
 * @param namespace
 *            the namespace URI of the matching element, or an empty string
 *            if the parser is not namespace aware or the element has no
 *            namespace
 * @param name
 *            the local name if the parser is namespace aware, or just the
 *            element name otherwise
 * @param text
 *            The body text of this element
 */
@Override
public void body(String namespace, String name, String text) throws Exception {
    String namespaceuri = null;
    String localpart = text;
    int colon = text.indexOf(':');
    if (colon >= 0) {
        String prefix = text.substring(0, colon);
        namespaceuri = digester.findNamespaceURI(prefix);
        localpart = text.substring(colon + 1);
    }
    ContextHandler contextHandler = (ContextHandler) digester.peek();
    contextHandler.addSoapHeaders(localpart, namespaceuri);
}
项目:class-guard    文件:WebRuleSet.java   
/**
 * Process the body text of this element.
 *
 * @param namespace the namespace URI of the matching element, or an 
 *   empty string if the parser is not namespace aware or the element has
 *   no namespace
 * @param name the local name if the parser is namespace aware, or just 
 *   the element name otherwise
 * @param text The body text of this element
 */
@Override
public void body(String namespace, String name, String text)
        throws Exception {
    String namespaceuri = null;
    String localpart = text;
    int colon = text.indexOf(':');
    if (colon >= 0) {
        String prefix = text.substring(0,colon);
        namespaceuri = digester.findNamespaceURI(prefix);
        localpart = text.substring(colon+1);
    }
    ContextHandler contextHandler = (ContextHandler)digester.peek();
    contextHandler.addSoapHeaders(localpart,namespaceuri);
}
项目:apache-tomcat-7.0.57    文件:WebRuleSet.java   
/**
 * Process the body text of this element.
 *
 * @param namespace the namespace URI of the matching element, or an 
 *   empty string if the parser is not namespace aware or the element has
 *   no namespace
 * @param name the local name if the parser is namespace aware, or just 
 *   the element name otherwise
 * @param text The body text of this element
 */
@Override
public void body(String namespace, String name, String text)
        throws Exception {
    String namespaceuri = null;
    String localpart = text;
    int colon = text.indexOf(':');
    if (colon >= 0) {
        String prefix = text.substring(0,colon);
        namespaceuri = digester.findNamespaceURI(prefix);
        localpart = text.substring(colon+1);
    }
    ContextHandler contextHandler = (ContextHandler)digester.peek();
    contextHandler.addSoapHeaders(localpart,namespaceuri);
}
项目:apache-tomcat-7.0.57    文件:WebRuleSet.java   
/**
 * Process the body text of this element.
 *
 * @param namespace the namespace URI of the matching element, or an 
 *   empty string if the parser is not namespace aware or the element has
 *   no namespace
 * @param name the local name if the parser is namespace aware, or just 
 *   the element name otherwise
 * @param text The body text of this element
 */
@Override
public void body(String namespace, String name, String text)
        throws Exception {
    String namespaceuri = null;
    String localpart = text;
    int colon = text.indexOf(':');
    if (colon >= 0) {
        String prefix = text.substring(0,colon);
        namespaceuri = digester.findNamespaceURI(prefix);
        localpart = text.substring(colon+1);
    }
    ContextHandler contextHandler = (ContextHandler)digester.peek();
    contextHandler.addSoapHeaders(localpart,namespaceuri);
}
项目:WBSAirback    文件:WebRuleSet.java   
/**
 * Process the body text of this element.
 *
 * @param namespace the namespace URI of the matching element, or an 
 *   empty string if the parser is not namespace aware or the element has
 *   no namespace
 * @param name the local name if the parser is namespace aware, or just 
 *   the element name otherwise
 * @param text The body text of this element
 */
@Override
public void body(String namespace, String name, String text)
        throws Exception {
    String namespaceuri = null;
    String localpart = text;
    int colon = text.indexOf(':');
    if (colon >= 0) {
        String prefix = text.substring(0,colon);
        namespaceuri = digester.findNamespaceURI(prefix);
        localpart = text.substring(colon+1);
    }
    ContextHandler contextHandler = (ContextHandler)digester.peek();
    contextHandler.addSoapHeaders(localpart,namespaceuri);
}