method = new LbStickinessMethod(StickinessMethodType.LBCookieBased, "This is loadbalancer cookie based stickiness method.");
method.addParam("cookie-name", false, "Cookie name passed in http header by the LB to the client.", false);
method.addParam("mode", false, "Valid values: insert, rewrite, prefix. Default value: insert. In the insert mode cookie will be created"
+ " by the LB. In other modes, cookie will be created by the server and LB modifies it.", false);
method.addParam("nocache", false, "This option is recommended in conjunction with the insert mode when there is a cache between the client"
+ " and HAProxy, as it ensures that a cacheable response will be tagged non-cacheable if a cookie needs "
+ "to be inserted. This is important because if all persistence cookies are added on a cacheable home page"
+ " for instance, then all customers will then fetch the page from an outer cache and will all share the "
+ "same persistence cookie, leading to one server receiving much more traffic than others. See also the " + "insert and postonly options. ", true);
method.addParam("indirect", false, "When this option is specified in insert mode, cookies will only be added when the server was not reached"