Search in sources :

Example 1 with InstanceCookieHandler

use of org.apache.camel.http.common.cookie.InstanceCookieHandler in project camel by apache.

the class AhcProducerSessionTest method createRegistry.

@Override
protected JndiRegistry createRegistry() throws Exception {
    JndiRegistry jndiRegistry = super.createRegistry();
    jndiRegistry.bind("instanceCookieHandler", new InstanceCookieHandler());
    jndiRegistry.bind("exchangeCookieHandler", new ExchangeCookieHandler());
    return jndiRegistry;
}
Also used : JndiRegistry(org.apache.camel.impl.JndiRegistry) ExchangeCookieHandler(org.apache.camel.http.common.cookie.ExchangeCookieHandler) InstanceCookieHandler(org.apache.camel.http.common.cookie.InstanceCookieHandler)

Example 2 with InstanceCookieHandler

use of org.apache.camel.http.common.cookie.InstanceCookieHandler in project camel by apache.

the class JettyHttpProducerSessionTest method createRegistry.

@Override
protected JndiRegistry createRegistry() throws Exception {
    JndiRegistry jndiRegistry = super.createRegistry();
    jndiRegistry.bind("instanceCookieHandler", new InstanceCookieHandler());
    jndiRegistry.bind("exchangeCookieHandler", new ExchangeCookieHandler());
    return jndiRegistry;
}
Also used : JndiRegistry(org.apache.camel.impl.JndiRegistry) ExchangeCookieHandler(org.apache.camel.http.common.cookie.ExchangeCookieHandler) InstanceCookieHandler(org.apache.camel.http.common.cookie.InstanceCookieHandler)

Example 3 with InstanceCookieHandler

use of org.apache.camel.http.common.cookie.InstanceCookieHandler in project camel by apache.

the class UndertowHttpProducerSessionTest method createRegistry.

@Override
protected JndiRegistry createRegistry() throws Exception {
    JndiRegistry jndiRegistry = super.createRegistry();
    jndiRegistry.bind("instanceCookieHandler", new InstanceCookieHandler());
    jndiRegistry.bind("exchangeCookieHandler", new ExchangeCookieHandler());
    return jndiRegistry;
}
Also used : JndiRegistry(org.apache.camel.impl.JndiRegistry) ExchangeCookieHandler(org.apache.camel.http.common.cookie.ExchangeCookieHandler) InstanceCookieHandler(org.apache.camel.http.common.cookie.InstanceCookieHandler)

Example 4 with InstanceCookieHandler

use of org.apache.camel.http.common.cookie.InstanceCookieHandler in project camel by apache.

the class NettyHttpProducerSessionTest method createRegistry.

@Override
protected JndiRegistry createRegistry() throws Exception {
    JndiRegistry jndiRegistry = super.createRegistry();
    jndiRegistry.bind("instanceCookieHandler", new InstanceCookieHandler());
    jndiRegistry.bind("exchangeCookieHandler", new ExchangeCookieHandler());
    return jndiRegistry;
}
Also used : JndiRegistry(org.apache.camel.impl.JndiRegistry) ExchangeCookieHandler(org.apache.camel.http.common.cookie.ExchangeCookieHandler) InstanceCookieHandler(org.apache.camel.http.common.cookie.InstanceCookieHandler)

Example 5 with InstanceCookieHandler

use of org.apache.camel.http.common.cookie.InstanceCookieHandler in project camel by apache.

the class RestletProducerSessionTest method createRegistry.

@Override
protected JndiRegistry createRegistry() throws Exception {
    JndiRegistry jndiRegistry = super.createRegistry();
    jndiRegistry.bind("instanceCookieHandler", new InstanceCookieHandler());
    jndiRegistry.bind("exchangeCookieHandler", new ExchangeCookieHandler());
    return jndiRegistry;
}
Also used : JndiRegistry(org.apache.camel.impl.JndiRegistry) ExchangeCookieHandler(org.apache.camel.http.common.cookie.ExchangeCookieHandler) InstanceCookieHandler(org.apache.camel.http.common.cookie.InstanceCookieHandler)

Aggregations

ExchangeCookieHandler (org.apache.camel.http.common.cookie.ExchangeCookieHandler)8 InstanceCookieHandler (org.apache.camel.http.common.cookie.InstanceCookieHandler)8 JndiRegistry (org.apache.camel.impl.JndiRegistry)8