{
"operation-name" : "add",
"description" : "Adds websockets support",
"request-properties" : {
"buffer-pool" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The buffer pool to use for websocket deployments",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"default" : "default",
"capability-reference" : "org.wildfly.undertow.byte-buffer-pool",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"deflater-level" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Configures the level of compression of the DEFLATE algorithm",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 0,
"min" : 0,
"max" : 9,
"stability" : "default"
},
"dispatch-to-worker" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "If callbacks should be dispatched to a worker thread. If this is false then they will be run in the IO thread, which is faster however care must be taken not to perform blocking operations.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
},
"per-message-deflate" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enables websocket's per-message compression extension, RFC-7692",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"worker" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The worker to use for websocket deployments",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"default" : "default",
"capability-reference" : "org.wildfly.io.worker",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}