JBoss.orgCommunity Documentation
<external-component-plugins>
<target-component>org.exoplatform.services.rest.impl.RequestHandlerImpl</target-component>
<component-plugin>
<name>ws.rs.request.filter</name>
<set-method>addPlugin</set-method>
<type>org.exoplatform.services.rest.impl.RequestFilterComponentPlugin</type>
<init-params>
<value-param>
<name>RESTXMPPServiceFilter</name>
<value>org.exoplatform.services.xmpp.rest.filter.RESTXMPPServiceFilter</value>
</value-param>
</init-params>
</component-plugin>
</external-component-plugins>
Details:
Name: ws.rs.request.filter
- The name of the filter.
Set-method: addPlugin
- The plugin which registers the method.
Type: org.exoplatform.services.rest.impl.RequestFilterComponentPlugin
- The class which executes the requests of the plugin.
Description: It is used to delete the session of a user when he suddenly closes the browser or changes the session.
See details about the init-params of the component in the following table:
Value-param | Description | Possible value | Default value |
---|---|---|---|
RESTXMPPServiceFilter | The name of the filter. | Class path | org.exoplatform.services.xmpp.rest.filter.RESTXMPPServiceFilter
|