Class DtoDisplay

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
org.vaadin.firitin.rad.DtoDisplay
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, Serializable

public class DtoDisplay extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
A simple component to display a DTO in a human-readable way with minimal amount of code. Can be used to display simple results on the UI or in RAD (Rapid Application Development) to quickly see the content of a complex DTO coming from some API.

Note, this is very early draft and likely the formatting will change in upcoming versions. Current version uses Jackson to read the first level of data, but in future versions it might use some other library or custom reflection code and might display deeper object trees.

See Also: