Re: What is the best way to get all JSON params in custom Interceptor to log them all in a custom logger ?

2017-04-06 Thread Christoph Nenning
> > > > > Hi, > > > > > > > > > > AFAIK that is defined in servlet spec. Only parameters with > > > content-type " > > > > > application/x-www-form-urlencoded" are made available via > > > getParameters(). > > > > > The struts method you mentioned just forwards to according method of > > > >

Re: What is the best way to get all JSON params in custom Interceptor to log them all in a custom logger ?

2017-03-27 Thread Snowball RC
On 2017-03-23 14:28 (+0200), "Snowball RC" wrote: > > > On 2017-03-23 14:23 (+0100), Christoph Nenning > wrote: > > > wrote: > > > > Hi, > > > > > > > > AFAIK that is defined in servlet spec. Only

Re: What is the best way to get all JSON params in custom Interceptor to log them all in a custom logger ?

2017-03-23 Thread Snowball RC
On 2017-03-23 14:23 (+0100), Christoph Nenning wrote: > > wrote: > > > Hi, > > > > > > AFAIK that is defined in servlet spec. Only parameters with > content-type " > > > application/x-www-form-urlencoded" are made available via

Re: What is the best way to get all JSON params in custom Interceptor to log them all in a custom logger ?

2017-03-23 Thread Christoph Nenning
> wrote: > > Hi, > > > > AFAIK that is defined in servlet spec. Only parameters with content-type " > > application/x-www-form-urlencoded" are made available via getParameters(). > > The struts method you mentioned just forwards to according method of > >

Re: What is the best way to get all JSON params in custom Interceptor to log them all in a custom logger ?

2017-03-23 Thread Snowball RC
On 2017-03-23 14:04 (+0100), Christoph Nenning wrote: > Hi, > > AFAIK that is defined in servlet spec. Only parameters with content-type " > application/x-www-form-urlencoded" are made available via getParameters(). > The struts method you mentioned just

Re: What is the best way to get all JSON params in custom Interceptor to log them all in a custom logger ?

2017-03-23 Thread Christoph Nenning
Hi, AFAIK that is defined in servlet spec. Only parameters with content-type " application/x-www-form-urlencoded" are made available via getParameters(). The struts method you mentioned just forwards to according method of servlet api. Your json data can only be read by consuming request

What is the best way to get all JSON params in custom Interceptor to log them all in a custom logger ?

2017-03-23 Thread Snowball RC
Hi, I am trying to implement a custom Interceptor to have a global custom "security" logger in my web app. The target is to log all the datas sended to the server during update, save, delete etc... to have a custom logger for security reasons. In case of GET and POST (query string param or