|Constructor and Description|
|Modifier and Type||Method and Description|
Performs the detection of the charset of the response described by the event.
public java.nio.charset.Charset performDetection(IReceiveEvent event) throws java.io.IOException
IReceiveEvent.getReader()method is guaranteed to return null.
Just like for response filters, the conversation flow allows this method to sniff into the input stream which will be rewound after the invocation of this method.
event- the receive event (containing all information except for the reader), must be non-null
java.io.IOException- in case of any errors during detection (typically resulting from sniffing into the response stream)