Class JsonWithPaddingInterceptor

  • All Implemented Interfaces:
    WriterInterceptor

    @Priority(4100)
    public class JsonWithPaddingInterceptor
    extends Object
    implements WriterInterceptor
    A WriterInterceptor implementation for JSONP format. This interceptor wraps a JSON stream obtained by a underlying JSON provider into a callback function that can be defined by the JSONP annotation.
    Author:
    Michal Gajdos
    See Also:
    JSONP