Package org.jboss.resteasy.plugins.providers.jackson
package org.jboss.resteasy.plugins.providers.jackson
-
ClassesClassDescriptionJSONP is an alternative to normal AJAX requests.This subclass of
CommitHeaderOutputStream
overrides theJackson2JsonpInterceptor.DoNotCloseDelegateOutputStream.close()
method so it would commit the headers only, without actually calling theJackson2JsonpInterceptor.DoNotCloseDelegateOutputStream.close()
method of the delegateOutputStream
Only different from Jackson one is *+json in @Produces/@Consumes(RESTEASY-1485) Address concerns of a possible XSS attack by removing some details of the exception.