REST filter

Update time: 2019-06-21

For REST, we designed a JAXRSProviderManager manager class. It takes effect on the server when the service starts.

For the user-defined Filter class, you can call it after the initialization is complete.

To register filter, since the custom Filter follows REST specification, you need to implement the following interface:

After the REST server is started, if using bare SOFARPC, you need to register filter first before starting the service. In SOFABoot environment, it is similar. The specific encoding method is as follows: