http4k / org.http4k.filter / GenerateXmlDataClasses
class GenerateXmlDataClasses<NODE :
Any
> :
Filter
This Filter is used to generate Data class definitions from a Response containing XML. The Filter will try and reduce the number of class definitions by selecting the definition with the most fields (for cases where lists of items have different fields).
Name | Summary |
---|---|
<init> | This Filter is used to generate Data class definitions from a Response containing XML. The Filter will try and reduce the number of class definitions by selecting the definition with the most fields (for cases where lists of items have different fields).GenerateXmlDataClasses(json: JsonLibAutoMarshallingJson <NODE>, xml: AutoMarshallingXml , out: PrintStream = System.out, idGenerator: () -> Int = { abs(Random().nextInt()) }) |
Name | Summary |
---|---|
invoke | fun invoke(p1: HttpHandler ): HttpHandler |
Name | Summary |
---|---|
appliedWhen | fun Behaviour .appliedWhen(trigger: Trigger ): Stage |
then | fun Filter .then(next: Filter ): Filter fun Filter .then(next: HttpHandler ): HttpHandler fun Filter .then(routingHttpHandler: RoutingHttpHandler ): RoutingHttpHandler |
then | fun Filter .then(appLoader: AppLoader ): AppLoader fun Filter .then(appLoader: AppLoaderWithContexts ): <ERROR CLASS> |