Class HttpConsumerContext
java.lang.Object
org.apache.synapse.commons.emulator.core.AbstractEmulatorContext
org.apache.synapse.commons.emulator.http.dsl.HttpConsumerContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.netty.handler.codec.http.HttpVersionio.netty.channel.ChannelInboundHandlerAdapterintinthttpVersion(io.netty.handler.codec.http.HttpVersion httpVersion) booleanlogic(io.netty.channel.ChannelInboundHandlerAdapter logicHandler) port(int port) randomConnectionClose(boolean randomConnectionClose) readingDelay(int readingDelay) respond(OutgoingMessage outgoing) when(IncomingMessage incoming) writingDelay(int writingDelay) Methods inherited from class org.apache.synapse.commons.emulator.core.AbstractEmulatorContext
getHost, getPort
-
Constructor Details
-
HttpConsumerContext
-
-
Method Details
-
host
- Overrides:
hostin classAbstractEmulatorContext
-
port
- Overrides:
portin classAbstractEmulatorContext
-
context
-
readingDelay
-
writingDelay
-
randomConnectionClose
-
httpVersion
-
when
-
logic
-
respond
-
operations
-
getContext
-
getReadingDelay
public int getReadingDelay() -
getWritingDelay
public int getWritingDelay() -
isRandomConnectionClose
public boolean isRandomConnectionClose() -
getHttpVersion
public io.netty.handler.codec.http.HttpVersion getHttpVersion() -
getLogicHandler
public io.netty.channel.ChannelInboundHandlerAdapter getLogicHandler() -
getIncoming
-
getInOutCorrelation
-