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"
+ " after a direct access, which means that only when a server is elected after applying a load-balancing algorithm,"
+ " or after a redispatch, then the cookie will be inserted. If the client has all the required information"
+ "indirect option is used in insert mode, the cookie is always removed from the requests transmitted to "
+ "the server. The persistence mechanism then becomes totally transparent from the application point of view.", true);
method.addParam("postonly", false, "This option ensures that cookie insertion will only be performed on responses to POST requests. It is an"
+ " alternative to the nocache option, because POST responses are not cacheable, so this ensures that the "
+ "persistence cookie will never get cached.Since most sites do not need any sort of persistence before the"
+ " first POST which generally is a login request, this is a very efficient method to optimize caching "
+ "without risking to find a persistence cookie in the cache. See also the insert and nocache options.", true);
method.addParam("domain", false, "This option allows to specify the domain at which a cookie is inserted. It requires exactly one parameter:"
+ " a valid domain name. If the domain begins with a dot, the browser is allowed to use it for any host "
+ "ending with that name. It is also possible to specify several domain names by invoking this option multiple"
method.addParam("cookie-name", false, "This is the name of the cookie used by the application and which LB will "
+ "have to learn for each new session. Default value: Auto geneared based on ip", false);
method.addParam("length", false, "This is the max number of characters that will be memorized and checked in " + "each cookie value. Default value:52", false);
method.addParam("holdtime", false, "This is the time after which the cookie will be removed from memory if unused. The value should be in "
+ "the format Example : 20s or 30m or 4h or 5d . only seconds(s), minutes(m) hours(h) and days(d) are valid,"
+ " cannot use th combinations like 20h30m. Default value:3h ", false);