Annotation Type DoNotEscape


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Inherited
    public @interface DoNotEscape
    An annotation for marking an object that should not be escaped when returned to the client from server. There may be two reasons for this:

    1. object contains important information used internally by application that are not shown to the user and shouldn't be escaped (like session id)
    2. object is escaped in a different place (e.g. in ResultSetTranslator)