All Downloads are FREE. Search and download functionalities are using the official Maven repository.

grizzly.protocolNewButtons.inc Maven / Gradle / Ivy






    
        
             $attribute{newProxy});

                setAttribute(key="emptyStr" value="");
                if("#{pageSession.skipAttrsList}=#{null}") {
                    createList(size="0", result="#{pageSession.skipAttrsList}");
                }
                if ("#{pageSession.httpMap['redirectPort']} = #{emptyStr}") {
                    listAdd(list="#{pageSession.skipAttrsList}" value="redirectPort");
                }
                if ("#{pageSession.httpMap['redirectPort']} = #{null}") {
                    listAdd(list="#{pageSession.skipAttrsList}" value="redirectPort");
                }
                if ("#{pageSession.httpMap['noCompressionUserAgents']} = #{null}") {
                    listAdd(list="#{pageSession.skipAttrsList}" value="noCompressionUserAgents");
                }
                mapPut(map="#{pageSession.httpMap}" key="target"  value="#{pageSession.valueMap['target']}")
                gf.createEntity(endpoint="${newProxy}/#{pageSession.valueMap['Name']}/create-http"
                        attrs="#{pageSession.httpMap}"
                        onlyUseAttrs={"target", "defaultVirtualServer"});
                listAdd(list="#{pageSession.skipAttrsList}" value="target");
                gf.createEntity(endpoint="${newProxy}/#{pageSession.valueMap['Name']}/http"
                        attrs="#{pageSession.httpMap}"
                        convertToFalse={"uploadTimeoutEnabled", "cometSupportEnabled", "dnsLookupEnabled", "rcmSupportEnabled", "traceEnabled", "authPassThroughEnabled", 
                                "chunkingEnabled",  "encodedSlashEnabled", "websocketsSupport", "xpoweredBy"},
                        skipAttrs="#{pageSession.skipAttrsList}"
                        result => $attribute{newHttp});

                gf.createEntity(endpoint="${newHttp}/#{pageSession.childType3}"
                        attrs="#{pageSession.fileMap}"
                        convertToFalse={"enabled"},
                );

                gf.redirect(page="#{parentPage}?configName=#{configName}")
            />
        
        
            
        
    





© 2015 - 2024 Weber Informatics LLC | Privacy Policy