First Party Configuration
First-Party will allow the sensor to be served from your domain. Using the First-Party mode is recommended. By enabling first party mode on the java SDK you will achieve:
Improved performance - Serving the sensor as part of the standard site content removes the need to open a new connection to PerimeterX servers when a page is loaded. Improved detection - Third party content may be blocked by certain browser plugins and privacy addons. The First-Party sensor leads directly to improved detection, as seen with customers who previously moved from Third Party sensor to First-Party sensor.
Integration
RequestWrapper - Reading HttpServletRequest is limited to one time only. This class will read the request and will set its body on the body var. This enables multiple reading of the body request.
ResponseWrapper - Using this wrapper enables reading the response body multiple times