Interface ClientsidePropertyServiceCore

  • All Known Implementing Classes:
    ClientsidePropertyServiceCore.Default

    public interface ClientsidePropertyServiceCore
    Class that provides functionality for the 'Client side overrides' feature. Client side overrides allow JavaScript running on the client device to provide additional evidence in the form of cookies or query string parameters to the pipeline on subsequent requests. This enables more detailed information to be supplied to the application. (e.g. iPhone model for device detection).
    See Also:
    Specification
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void serveJavascript​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Add the JavaScript from the FlowData object to the HttpServletResponse
      void serveJson​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Add the JSON from the FlowData object to the HttpServletResponse
    • Method Detail

      • serveJavascript

        void serveJavascript​(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response)
                      throws IOException
        Add the JavaScript from the FlowData object to the HttpServletResponse
        Parameters:
        request - the HttpServletRequest containing the FlowData
        response - the HttpServletResponse to add the JavaScript to
        Throws:
        IOException - if there was a failure reading or writing to the request or response
      • serveJson

        void serveJson​(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws IOException
        Add the JSON from the FlowData object to the HttpServletResponse
        Parameters:
        request - the HttpServletRequest containing the FlowData
        response - the HttpServletResponse to add the JSON to
        Throws:
        IOException - if there was a failure reading or writing to the request or response