Take a look at the example, you can set the body, status code, headers,
basically anything you want. The only reason you might want to use an
intercept plugin is it you wanted to stream a response.

Brian

On Monday, March 14, 2016, Dk Jack <dnj0...@gmail.com> wrote:

> custom error message plugin doesn't seem to include body. I wanted to
> include body as well...
>
> Bhasker.
>
>
> On Sun, Mar 13, 2016 at 6:01 PM, Brian Geffon <bri...@apache.org
> <javascript:;>> wrote:
>
> > I would suggest looking at the custom error response plugin in the
> examples
> > folder, it will give you same result and it's much easier,
> >
> > Brian
> >
> > On Monday, March 14, 2016, Dk Jack <dnj0...@gmail.com <javascript:;>>
> wrote:
> >
> > > Hi,
> > > I am using atscppapi intercept Plugin. Does it still require a remap
> rule
> > > if I am using SERVER_INTERCEPT type. I just want to respond with a
> custom
> > > response if I see a specific url. Thanks.
> > >
> > > Dk.
> > >
> >
>

Reply via email to