Interface ContentAnalyserFactory
public interface ContentAnalyserFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreate(String contentType, Buffer content, ValidationContext context) Creates a new ContentAnalyser for the provided request.static ContentAnalyserFactoryjson()static ContentAnalyserFactorystatic ContentAnalyserFactorynoop()static ContentAnalyserFactory
-
Method Details
-
create
Creates a new ContentAnalyser for the provided request.- Parameters:
contentType- The raw content type from the http headers.content- The content of the request or response.context- Whether the analyser is for a request or response.- Returns:
- A fresh content analyser instance.
-
json
-
noop
-
multipart
-
xWwwFormUrlencoded
-