public String build(Object object) {
        ReflectionToStringBuilder builder = new ReflectionToStringBuilder(object, new HTMLStyle());
        return builder.toString();
    }
<a href="http://scrumbucket.org/converting-a-pojo-into-html/">source</a>
realtime/realtime-collector/src/main/java/com/navercorp/pinpoint/realtime/collector/controller/HTMLBuilder.java