Search in sources :

Example 1 with HttpEmulatorConsumerInitializer

use of org.apache.synapse.commons.emulator.http.consumer.HttpEmulatorConsumerInitializer in project wso2-synapse by wso2.

the class HTTPProtocolEmulator method consumer.

@Override
public HttpConsumerContext consumer() {
    consumerContext = new HttpConsumerContext(this);
    setEmulatorType(EmulatorType.HTTP_CONSUMER);
    httpEmulatorConsumerInitializer = new HttpEmulatorConsumerInitializer(consumerContext);
    return consumerContext;
}
Also used : HttpConsumerContext(org.apache.synapse.commons.emulator.http.dsl.HttpConsumerContext) HttpEmulatorConsumerInitializer(org.apache.synapse.commons.emulator.http.consumer.HttpEmulatorConsumerInitializer)

Aggregations

HttpEmulatorConsumerInitializer (org.apache.synapse.commons.emulator.http.consumer.HttpEmulatorConsumerInitializer)1 HttpConsumerContext (org.apache.synapse.commons.emulator.http.dsl.HttpConsumerContext)1