Search in sources :

Example 1 with MultilineHttpProtocolFactory

use of org.opennms.netmgt.provision.support.codec.MultilineHttpProtocolFactory in project opennms by OpenNMS.

the class MultilineHttpDetector method contructDefaults.

private void contructDefaults() {
    setProtocolCodecFilter(new ProtocolCodecFilter(new MultilineHttpProtocolFactory()));
    setUrl(DEFAULT_URL);
    setMaxRetCode(DEFAULT_MAX_RET_CODE);
}
Also used : MultilineHttpProtocolFactory(org.opennms.netmgt.provision.support.codec.MultilineHttpProtocolFactory) ProtocolCodecFilter(org.apache.mina.filter.codec.ProtocolCodecFilter)

Aggregations

ProtocolCodecFilter (org.apache.mina.filter.codec.ProtocolCodecFilter)1 MultilineHttpProtocolFactory (org.opennms.netmgt.provision.support.codec.MultilineHttpProtocolFactory)1