public static String toString(HTTPClientPolicy p) { StringBuilder buf = new StringBuilder(); buf.append(p); buf.append("[DecoupledEndpoint=\""); buf.append(p.getDecoupledEndpoint()); buf.append("\", ReceiveTimeout="); buf.append(p.getReceiveTimeout()); buf.append("])"); return buf.toString(); } }
/** * This call gets called by the HTTPTransportFactory after it * causes an injection of the Spring configuration properties * of this Conduit. */ public void finalizeConfig() { // See if not set by configuration, if there are defaults // in order from the Endpoint, Service, or Bus. configureConduitFromEndpointInfo(this, endpointInfo); logConfig(); if (getClient().getDecoupledEndpoint() != null) { this.endpointInfo.setProperty("org.apache.cxf.ws.addressing.replyto", getClient().getDecoupledEndpoint()); } }
/** * This method sets the Client Side Policy for this HTTPConduit. Using this * method will override any HTTPClientPolicy set in configuration. */ public void setClient(HTTPClientPolicy client) { if (this.clientSidePolicy != null) { this.clientSidePolicy.removePropertyChangeListener(this); } this.clientSidePolicyCalced = true; this.clientSidePolicy = client; clientSidePolicy.removePropertyChangeListener(this); //make sure we aren't added twice clientSidePolicy.addPropertyChangeListener(this); endpointInfo.setProperty("org.apache.cxf.ws.addressing.replyto", client.getDecoupledEndpoint()); }
public static String toString(HTTPClientPolicy p) { StringBuilder buf = new StringBuilder(); buf.append(p); buf.append("[DecoupledEndpoint=\""); buf.append(p.getDecoupledEndpoint()); buf.append("\", ReceiveTimeout="); buf.append(p.getReceiveTimeout()); buf.append("])"); return buf.toString(); } }
public static String toString(HTTPClientPolicy p) { StringBuilder buf = new StringBuilder(); buf.append(p); buf.append("[DecoupledEndpoint=\""); buf.append(p.getDecoupledEndpoint()); buf.append("\", ReceiveTimeout="); buf.append(p.getReceiveTimeout()); buf.append("])"); return buf.toString(); } }
&& StringUtils.equals(p1.getContentType(), p2.getContentType()) && StringUtils.equals(p1.getCookie(), p2.getCookie()) && StringUtils.equals(p1.getDecoupledEndpoint(), p2.getDecoupledEndpoint()) && StringUtils.equals(p1.getHost(), p2.getHost()); if (!result) {
compatible &= StringUtils.compatible(p1.getDecoupledEndpoint(), p2.getDecoupledEndpoint());
/** * This call gets called by the HTTPTransportFactory after it * causes an injection of the Spring configuration properties * of this Conduit. */ public void finalizeConfig() { // See if not set by configuration, if there are defaults // in order from the Endpoint, Service, or Bus. configureConduitFromEndpointInfo(this, endpointInfo); logConfig(); if (getClient().getDecoupledEndpoint() != null) { this.endpointInfo.setProperty("org.apache.cxf.ws.addressing.replyto", getClient().getDecoupledEndpoint()); } }
/** * This method sets the Client Side Policy for this HTTPConduit. Using this * method will override any HTTPClientPolicy set in configuration. */ public void setClient(HTTPClientPolicy client) { if (this.clientSidePolicy != null) { this.clientSidePolicy.removePropertyChangeListener(this); } this.clientSidePolicyCalced = true; this.clientSidePolicy = client; clientSidePolicy.removePropertyChangeListener(this); //make sure we aren't added twice clientSidePolicy.addPropertyChangeListener(this); endpointInfo.setProperty("org.apache.cxf.ws.addressing.replyto", client.getDecoupledEndpoint()); }
/** * This method sets the Client Side Policy for this HTTPConduit. Using this * method will override any HTTPClientPolicy set in configuration. */ public void setClient(HTTPClientPolicy client) { if (this.clientSidePolicy != null) { this.clientSidePolicy.removePropertyChangeListener(this); } this.clientSidePolicy = client; clientSidePolicy.removePropertyChangeListener(this); //make sure we aren't added twice clientSidePolicy.addPropertyChangeListener(this); endpointInfo.setProperty("org.apache.cxf.ws.addressing.replyto", client.getDecoupledEndpoint()); }
/** * This call gets called by the HTTPTransportFactory after it * causes an injection of the Spring configuration properties * of this Conduit. */ public void finalizeConfig() { // See if not set by configuration, if there are defaults // in order from the Endpoint, Service, or Bus. configureConduitFromEndpointInfo(this, endpointInfo); logConfig(); if (getClient().getDecoupledEndpoint() != null) { this.endpointInfo.setProperty("org.apache.cxf.ws.addressing.replyto", getClient().getDecoupledEndpoint()); } if (clientSidePolicy != null) { clientSidePolicy.removePropertyChangeListener(this); //make sure we aren't added twice clientSidePolicy.addPropertyChangeListener(this); } }
p.setDecoupledEndpoint(StringUtils.combine(p1.getDecoupledEndpoint(), p2.getDecoupledEndpoint())); p.setHost(StringUtils.combine(p1.getHost(), p2.getHost())); p.setProxyServer(StringUtils.combine(p1.getProxyServer(), p2.getProxyServer()));
assertNotNull("expected HTTPConduit", c); assertNotNull("expected DecoupledEndpoint", c.getClient().getDecoupledEndpoint()); assertEquals("unexpected DecoupledEndpoint", "http://localhost:9909/decoupled_endpoint", c.getClient().getDecoupledEndpoint()); ((Closeable)greeter).close();
cp.setDecoupledEndpoint(decoupledEndpoint); LOG.fine("Using decoupled endpoint: " + cp.getDecoupledEndpoint());
&& StringUtils.equals(p1.getContentType(), p2.getContentType()) && StringUtils.equals(p1.getCookie(), p2.getCookie()) && StringUtils.equals(p1.getDecoupledEndpoint(), p2.getDecoupledEndpoint()) && StringUtils.equals(p1.getHost(), p2.getHost()); if (!result) {
compatible &= StringUtils.compatible(p1.getDecoupledEndpoint(), p2.getDecoupledEndpoint());
&& StringUtils.equals(p1.getContentType(), p2.getContentType()) && StringUtils.equals(p1.getCookie(), p2.getCookie()) && StringUtils.equals(p1.getDecoupledEndpoint(), p2.getDecoupledEndpoint()) && StringUtils.equals(p1.getHost(), p2.getHost()); if (!result) {
compatible &= StringUtils.compatible(p1.getDecoupledEndpoint(), p2.getDecoupledEndpoint());
p.setDecoupledEndpoint(StringUtils.combine(p1.getDecoupledEndpoint(), p2.getDecoupledEndpoint())); p.setHost(StringUtils.combine(p1.getHost(), p2.getHost())); p.setProxyServer(StringUtils.combine(p1.getProxyServer(), p2.getProxyServer()));
p.setDecoupledEndpoint(StringUtils.combine(p1.getDecoupledEndpoint(), p2.getDecoupledEndpoint())); p.setHost(StringUtils.combine(p1.getHost(), p2.getHost())); p.setProxyServer(StringUtils.combine(p1.getProxyServer(), p2.getProxyServer()));