Java源码示例:com.sun.xml.internal.ws.developer.HttpConfigFeature

示例1
public DeferredTransportPipe(ClassLoader classLoader, ClientTubeAssemblerContext context) {
    this.classLoader = classLoader;
    this.context = context;
    if (context.getBinding().getFeature(HttpConfigFeature.class) == null) {
        context.getBinding().getFeatures().mergeFeatures(
                new WebServiceFeature[] { new HttpConfigFeature() }, false);
    }
    //See if we can create the transport pipe from the available information.
    try {
        this.transport = TransportTubeFactory.create(classLoader, context);
        this.address = context.getAddress();
    } catch(Exception e) {
        //No problem, transport will be initialized while processing the requests
    }
}
 
示例2
public DeferredTransportPipe(ClassLoader classLoader, ClientTubeAssemblerContext context) {
    this.classLoader = classLoader;
    this.context = context;
    if (context.getBinding().getFeature(HttpConfigFeature.class) == null) {
        context.getBinding().getFeatures().mergeFeatures(
                new WebServiceFeature[] { new HttpConfigFeature() }, false);
    }
    //See if we can create the transport pipe from the available information.
    try {
        this.transport = TransportTubeFactory.create(classLoader, context);
        this.address = context.getAddress();
    } catch(Exception e) {
        //No problem, transport will be initialized while processing the requests
    }
}
 
示例3
public DeferredTransportPipe(ClassLoader classLoader, ClientTubeAssemblerContext context) {
    this.classLoader = classLoader;
    this.context = context;
    if (context.getBinding().getFeature(HttpConfigFeature.class) == null) {
        context.getBinding().getFeatures().mergeFeatures(
                new WebServiceFeature[] { new HttpConfigFeature() }, false);
    }
    //See if we can create the transport pipe from the available information.
    try {
        this.transport = TransportTubeFactory.create(classLoader, context);
        this.address = context.getAddress();
    } catch(Exception e) {
        //No problem, transport will be initialized while processing the requests
    }
}
 
示例4
public DeferredTransportPipe(ClassLoader classLoader, ClientTubeAssemblerContext context) {
    this.classLoader = classLoader;
    this.context = context;
    if (context.getBinding().getFeature(HttpConfigFeature.class) == null) {
        context.getBinding().getFeatures().mergeFeatures(
                new WebServiceFeature[] { new HttpConfigFeature() }, false);
    }
    //See if we can create the transport pipe from the available information.
    try {
        this.transport = TransportTubeFactory.create(classLoader, context);
        this.address = context.getAddress();
    } catch(Exception e) {
        //No problem, transport will be initialized while processing the requests
    }
}
 
示例5
public DeferredTransportPipe(ClassLoader classLoader, ClientTubeAssemblerContext context) {
    this.classLoader = classLoader;
    this.context = context;
    if (context.getBinding().getFeature(HttpConfigFeature.class) == null) {
        context.getBinding().getFeatures().mergeFeatures(
                new WebServiceFeature[] { new HttpConfigFeature() }, false);
    }
    //See if we can create the transport pipe from the available information.
    try {
        this.transport = TransportTubeFactory.create(classLoader, context);
        this.address = context.getAddress();
    } catch(Exception e) {
        //No problem, transport will be initialized while processing the requests
    }
}
 
示例6
public DeferredTransportPipe(ClassLoader classLoader, ClientTubeAssemblerContext context) {
    this.classLoader = classLoader;
    this.context = context;
    if (context.getBinding().getFeature(HttpConfigFeature.class) == null) {
        context.getBinding().getFeatures().mergeFeatures(
                new WebServiceFeature[] { new HttpConfigFeature() }, false);
    }
    //See if we can create the transport pipe from the available information.
    try {
        this.transport = TransportTubeFactory.create(classLoader, context);
        this.address = context.getAddress();
    } catch(Exception e) {
        //No problem, transport will be initialized while processing the requests
    }
}
 
示例7
public DeferredTransportPipe(ClassLoader classLoader, ClientTubeAssemblerContext context) {
    this.classLoader = classLoader;
    this.context = context;
    if (context.getBinding().getFeature(HttpConfigFeature.class) == null) {
        context.getBinding().getFeatures().mergeFeatures(
                new WebServiceFeature[] { new HttpConfigFeature() }, false);
    }
    //See if we can create the transport pipe from the available information.
    try {
        this.transport = TransportTubeFactory.create(classLoader, context);
        this.address = context.getAddress();
    } catch(Exception e) {
        //No problem, transport will be initialized while processing the requests
    }
}
 
示例8
public DeferredTransportPipe(ClassLoader classLoader, ClientTubeAssemblerContext context) {
    this.classLoader = classLoader;
    this.context = context;
    if (context.getBinding().getFeature(HttpConfigFeature.class) == null) {
        context.getBinding().getFeatures().mergeFeatures(
                new WebServiceFeature[] { new HttpConfigFeature() }, false);
    }
    //See if we can create the transport pipe from the available information.
    try {
        this.transport = TransportTubeFactory.create(classLoader, context);
        this.address = context.getAddress();
    } catch(Exception e) {
        //No problem, transport will be initialized while processing the requests
    }
}