Trace:
Differences
This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
jvx:communication:rest_exceptionhandling [2019/07/09 09:19] admin created |
jvx:communication:rest_exceptionhandling [2019/07/09 09:19] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTRANS~~ | ~~NOTRANS~~ | ||
- | ~~Title: Publish/Push messages~~ | + | ~~Title: REST Exception handling~~ |
Our standard [[jvx:common:util:rest|REST services]] come with standard exception handling. This means that all server-side exceptions send the http status code 400 (Bad Request) to the client. The implementation already checks some exception types and returns custom http status codes: | Our standard [[jvx:common:util:rest|REST services]] come with standard exception handling. This means that all server-side exceptions send the http status code 400 (Bad Request) to the client. The implementation already checks some exception types and returns custom http status codes: |