Class ContentTypeDetector

java.lang.Object
com.predic8.membrane.core.util.ContentTypeDetector

public class ContentTypeDetector extends Object
This class tries to detect the "content type" of a given message. "Content Type" here is more complex than the HTTP header "Content-Type": For example a message of the effective type "SOAP" might be XOP-encoded and have HTTP "Content-Type" "multipart/related". Note that this class does not give a guarantee that the content is actually valid.