Class UniqueWriterControllerFactory


  • public final class UniqueWriterControllerFactory
    extends java.lang.Object
    Since:
    16.0.0
    Version:
    $Revision$ $Date$
    • Field Detail

      • UNIQUE_WRITER_REQUEST_ATTRIBUTE_NAME

        public static final java.lang.String UNIQUE_WRITER_REQUEST_ATTRIBUTE_NAME
        Request attribute name of stored UniqueWriterController.
        Since:
        16.0.0
    • Method Detail

      • getInstance

        public static <T extends javax.servlet.http.HttpServletRequest & IPageWebResourceRequestIUniqueWriterController getInstance​(T request)
        Returns a controller for the given request.
        Type Parameters:
        T -
        Parameters:
        request - the request
        Returns:
        a controller for the given request
        Since:
        16.0.0
      • getInstance

        public static IUniqueWriterController getInstance​(javax.servlet.http.HttpServletRequest request,
                                                          PageWebResource pageWebResource)
        Returns a controller for the given request and web resource.
        Parameters:
        request - the request
        pageWebResource - the web resource
        Returns:
        a controller for the given request and web resource.
        Since:
        16.0.0