Package com.sun.xml.ws.api.transport.tcp

Examples of com.sun.xml.ws.api.transport.tcp.TcpTransportFeature


            return true;
        } else if (binding == null) {
            return false;
        }

        TcpTransportFeature tcpTransportFeature = binding.getFeature(TcpTransportFeature.class);
        SelectOptimalTransportFeature optimalTransportFeature = binding.getFeature(SelectOptimalTransportFeature.class);

        return (tcpTransportFeature != null && tcpTransportFeature.isEnabled()) &&
                (optimalTransportFeature != null && optimalTransportFeature.isEnabled());
    }
View Full Code Here


*/
public class TcpTransportFeatureReader extends SimpleFeatureReader {

    @Override
    protected TcpTransportFeature createFeature(boolean enabled) {
        return new TcpTransportFeature(enabled);
    }
View Full Code Here

                            if (value != null) {
                                value = value.trim();
                                isEnabled = Boolean.valueOf(value) || value.equalsIgnoreCase("yes");

                            }
                            features.add(new TcpTransportFeature(isEnabled));
                        }
                    }
                }
            } // end-if policy not null
        }
View Full Code Here

            LOGGER.exiting(subjects);
        }
    }

    private void updateTCPTransportSettings(Collection<PolicySubject> subjects, WSBinding wsBinding, SEIModel model, PolicyMap policyMap) throws PolicyException, IllegalArgumentException {
        final TcpTransportFeature tcpTransportFeature = wsBinding.getFeature(TcpTransportFeature.class);
        if (tcpTransportFeature == null || !tcpTransportFeature.isEnabled()) {
            return;
        }

        if (LOGGER.isLoggable(Level.FINEST)) {
            // TODO L10N
View Full Code Here

TOP

Related Classes of com.sun.xml.ws.api.transport.tcp.TcpTransportFeature

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.