com.ibm.broker.config.appdev.nodes

Class HTTPRequestNode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class HTTPRequestNode
    extends Node

    HTTPRequestNode instance

    HTTPRequest node interacts with a Web service, using all or part of the input message as the request sent to that service

     Change Activity:
     -------- ----------- -------------   ------------------------------------
     Reason:  Date:       Originator:     Comments:
     -------- ----------- -------------   ------------------------------------
     xxxxx.x  2010-08-10  dstorey         creation
     xxxxx.x  xxxx-xx-xx  generated       7.0.0.2 Release
     
    See Also:
    Serialized Form
    • Constructor Detail

      • HTTPRequestNode

        public HTTPRequestNode()
    • Method Detail

      • getParserXmlnscOpaqueElementsTable

        public HTTPRequestNode.ParserXmlnscOpaqueElementsTable getParserXmlnscOpaqueElementsTable()
        Retrieve the Opaque elements table for the node HTTPRequestNode
        Returns:
        ParserXmlnscOpaqueElementsTable instance which contains OpaqueElementsRow rows
      • getInputTerminals

        public InputTerminal[] getInputTerminals()
        Description copied from class: Node
        Gets the full list of available InputTerminals for this Node
        Specified by:
        getInputTerminals in class Node
        Returns:
        InputTerminal[]
      • getOutputTerminals

        public OutputTerminal[] getOutputTerminals()
        Description copied from class: Node
        Gets the full list of available OutputTerminals for this Node
        Specified by:
        getOutputTerminals in class Node
        Returns:
        OutputTerminal[]
      • getTypeName

        public java.lang.String getTypeName()
        Description copied from class: Node
        Gets the node type of this node
        Specified by:
        getTypeName in class Node
        Returns:
        String; the node type
      • setURLSpecifier

        public HTTPRequestNode setURLSpecifier(java.lang.String value)
        Set the HTTPRequestNode "Web service URL" property
        Parameters:
        value - String ; the value to set the property "Web service URL"
      • getURLSpecifier

        public java.lang.String getURLSpecifier()
        Get the HTTPRequestNode "Web service URL" property
        Returns:
        String; the value of the property "Web service URL"
      • setTimeoutForServer

        public HTTPRequestNode setTimeoutForServer(int value)
        Set the HTTPRequestNode "Request timeout (sec)" property
        Parameters:
        value - int ; the value to set the property "Request timeout (sec)"
      • getTimeoutForServer

        public int getTimeoutForServer()
        Get the HTTPRequestNode Request timeout (sec) property
        Returns:
        int; the value of the property "Request timeout (sec)"
      • setHttpProxyLocation

        public HTTPRequestNode setHttpProxyLocation(java.lang.String value)
        Set the HTTPRequestNode "HTTP(S) proxy location" property
        Parameters:
        value - String ; the value to set the property "HTTP(S) proxy location"
      • getHttpProxyLocation

        public java.lang.String getHttpProxyLocation()
        Get the HTTPRequestNode "HTTP(S) proxy location" property
        Returns:
        String; the value of the property "HTTP(S) proxy location"
      • setFollowRedirection

        public HTTPRequestNode setFollowRedirection(boolean value)
        Set the HTTPRequestNode "Follow HTTP(S) redirection" property
        Parameters:
        value - boolean ; the value to set the property "Follow HTTP(S) redirection"
      • getFollowRedirection

        public boolean getFollowRedirection()
        Get the HTTPRequestNode "Follow HTTP(S) redirection" property
        Returns:
        boolean; the value of the property "Follow HTTP(S) redirection"
      • setHttpMethod

        public HTTPRequestNode setHttpMethod(java.lang.String value)
        Set the HTTPRequestNode "HTTP method" property
        Parameters:
        value - String ; the value to set the property "HTTP method"
      • getHttpMethodAsString

        public java.lang.String getHttpMethodAsString()
        Get the HTTPRequestNode "HTTP method" property as a String
        Returns:
        String; the value of the property "HTTP method" as a String
      • setEnableKeepAlive

        public HTTPRequestNode setEnableKeepAlive(boolean value)
        Set the HTTPRequestNode "Enable HTTP/1.1 keep-alive" property
        Parameters:
        value - boolean ; the value to set the property "Enable HTTP/1.1 keep-alive"
      • getEnableKeepAlive

        public boolean getEnableKeepAlive()
        Get the HTTPRequestNode "Enable HTTP/1.1 keep-alive" property
        Returns:
        boolean; the value of the property "Enable HTTP/1.1 keep-alive"
      • setAllowedCiphers

        public HTTPRequestNode setAllowedCiphers(java.lang.String value)
        Set the HTTPRequestNode "Allowed SSL ciphers" property
        Parameters:
        value - String ; the value to set the property "Allowed SSL ciphers"
      • getAllowedCiphers

        public java.lang.String getAllowedCiphers()
        Get the HTTPRequestNode "Allowed SSL ciphers" property
        Returns:
        String; the value of the property "Allowed SSL ciphers"
      • setHostnameChecking

        public HTTPRequestNode setHostnameChecking(boolean value)
        Set the HTTPRequestNode "Enable SSL certificate hostname checking" property
        Parameters:
        value - boolean ; the value to set the property "Enable SSL certificate hostname checking"
      • getHostnameChecking

        public boolean getHostnameChecking()
        Get the HTTPRequestNode "Enable SSL certificate hostname checking" property
        Returns:
        boolean; the value of the property "Enable SSL certificate hostname checking"
      • setKeyAlias

        public HTTPRequestNode setKeyAlias(java.lang.String value)
        Set the HTTPRequestNode "SSL client authentication key alias" property
        Parameters:
        value - String ; the value to set the property "SSL client authentication key alias"
      • getKeyAlias

        public java.lang.String getKeyAlias()
        Get the HTTPRequestNode "SSL client authentication key alias" property
        Returns:
        String; the value of the property "SSL client authentication key alias"
      • setEnableCRLCheck

        public HTTPRequestNode setEnableCRLCheck(boolean value)
        Set the HTTPRequestNode "Enable certificate revocation list checking" property
        Parameters:
        value - boolean ; the value to set the property "Enable certificate revocation list checking"
      • getEnableCRLCheck

        public boolean getEnableCRLCheck()
        Get the HTTPRequestNode "Enable certificate revocation list checking" property
        Returns:
        boolean; the value of the property "Enable certificate revocation list checking"
      • setMessageDomainProperty

        public HTTPRequestNode setMessageDomainProperty(java.lang.String value)
        Set the HTTPRequestNode "Message domain" property
        Parameters:
        value - String ; the value to set the property "Message domain"
      • getMessageDomainProperty

        public java.lang.String getMessageDomainProperty()
        Get the HTTPRequestNode "Message domain" property
        Returns:
        String; the value of the property "Message domain"
      • setMessageSetProperty

        public HTTPRequestNode setMessageSetProperty(java.lang.String value)
        Set the HTTPRequestNode "Message model" property
        Parameters:
        value - String ; the value to set the property "Message model"
      • getMessageSetProperty

        public java.lang.String getMessageSetProperty()
        Get the HTTPRequestNode "Message model" property
        Returns:
        String; the value of the property "Message model"
      • setMessageTypeProperty

        public HTTPRequestNode setMessageTypeProperty(java.lang.String value)
        Set the HTTPRequestNode "Message" property
        Parameters:
        value - String ; the value to set the property "Message"
      • getMessageTypeProperty

        public java.lang.String getMessageTypeProperty()
        Get the HTTPRequestNode "Message" property
        Returns:
        String; the value of the property "Message"
      • setMessageFormatProperty

        public HTTPRequestNode setMessageFormatProperty(java.lang.String value)
        Set the HTTPRequestNode "Physical format" property
        Parameters:
        value - String ; the value to set the property "Physical format"
      • getMessageFormatProperty

        public java.lang.String getMessageFormatProperty()
        Get the HTTPRequestNode "Physical format" property
        Returns:
        String; the value of the property "Physical format"
      • setParserXmlnscBuildTreeUsingXMLSchema

        public HTTPRequestNode setParserXmlnscBuildTreeUsingXMLSchema(boolean value)
        Set the HTTPRequestNode "Build tree using XML schema data types" property
        Parameters:
        value - boolean ; the value to set the property "Build tree using XML schema data types"
      • getParserXmlnscBuildTreeUsingXMLSchema

        public boolean getParserXmlnscBuildTreeUsingXMLSchema()
        Get the HTTPRequestNode "Build tree using XML schema data types" property
        Returns:
        boolean; the value of the property "Build tree using XML schema data types"
      • setParserXmlnscUseForXmlnsDomain

        public HTTPRequestNode setParserXmlnscUseForXmlnsDomain(boolean value)
        Set the HTTPRequestNode "Use XMLNSC compact parser for XMLNS domain" property
        Parameters:
        value - boolean ; the value to set the property "Use XMLNSC compact parser for XMLNS domain"
      • getParserXmlnscUseForXmlnsDomain

        public boolean getParserXmlnscUseForXmlnsDomain()
        Get the HTTPRequestNode "Use XMLNSC compact parser for XMLNS domain" property
        Returns:
        boolean; the value of the property "Use XMLNSC compact parser for XMLNS domain"
      • setReplaceInputMsgWithHTTPError

        public HTTPRequestNode setReplaceInputMsgWithHTTPError(boolean value)
        Set the HTTPRequestNode "Replace input with error" property
        Parameters:
        value - boolean ; the value to set the property "Replace input with error"
      • getReplaceInputMsgWithHTTPError

        public boolean getReplaceInputMsgWithHTTPError()
        Get the HTTPRequestNode "Replace input with error" property
        Returns:
        boolean; the value of the property "Replace input with error"
      • setErrorMsgLocationInTree

        public HTTPRequestNode setErrorMsgLocationInTree(java.lang.String value)
        Set the HTTPRequestNode "Error message location" property
        Parameters:
        value - String ; the value to set the property "Error message location"
      • getErrorMsgLocationInTree

        public java.lang.String getErrorMsgLocationInTree()
        Get the HTTPRequestNode "Error message location" property
        Returns:
        String; the value of the property "Error message location"
      • setUseWholeInputMsgAsRequest

        public HTTPRequestNode setUseWholeInputMsgAsRequest(boolean value)
        Set the HTTPRequestNode "Use whole input message as request" property
        Parameters:
        value - boolean ; the value to set the property "Use whole input message as request"
      • getUseWholeInputMsgAsRequest

        public boolean getUseWholeInputMsgAsRequest()
        Get the HTTPRequestNode "Use whole input message as request" property
        Returns:
        boolean; the value of the property "Use whole input message as request"
      • setRequestMsgLocationInTree

        public HTTPRequestNode setRequestMsgLocationInTree(java.lang.String value)
        Set the HTTPRequestNode "Request message location in tree" property
        Parameters:
        value - String ; the value to set the property "Request message location in tree"
      • getRequestMsgLocationInTree

        public java.lang.String getRequestMsgLocationInTree()
        Get the HTTPRequestNode "Request message location in tree" property
        Returns:
        String; the value of the property "Request message location in tree"
      • setReplaceInputMsgWithWSResponse

        public HTTPRequestNode setReplaceInputMsgWithWSResponse(boolean value)
        Set the HTTPRequestNode "Replace input message with web-service response" property
        Parameters:
        value - boolean ; the value to set the property "Replace input message with web-service response"
      • getReplaceInputMsgWithWSResponse

        public boolean getReplaceInputMsgWithWSResponse()
        Get the HTTPRequestNode "Replace input message with web-service response" property
        Returns:
        boolean; the value of the property "Replace input message with web-service response"
      • setResponseMsgLocationInTree

        public HTTPRequestNode setResponseMsgLocationInTree(java.lang.String value)
        Set the HTTPRequestNode "Response message location in tree" property
        Parameters:
        value - String ; the value to set the property "Response message location in tree"
      • getResponseMsgLocationInTree

        public java.lang.String getResponseMsgLocationInTree()
        Get the HTTPRequestNode "Response message location in tree" property
        Returns:
        String; the value of the property "Response message location in tree"
      • setGenerateDefaultHttpHeaders

        public HTTPRequestNode setGenerateDefaultHttpHeaders(boolean value)
        Set the HTTPRequestNode "Generate default HTTP headers from input" property
        Parameters:
        value - boolean ; the value to set the property "Generate default HTTP headers from input"
      • getGenerateDefaultHttpHeaders

        public boolean getGenerateDefaultHttpHeaders()
        Get the HTTPRequestNode "Generate default HTTP headers from input" property
        Returns:
        boolean; the value of the property "Generate default HTTP headers from input"
      • setAcceptCompressedResponses

        public HTTPRequestNode setAcceptCompressedResponses(boolean value)
        Set the HTTPRequestNode "Accept compressed responses by default" property
        Parameters:
        value - boolean ; the value to set the property "Accept compressed responses by default"
      • getAcceptCompressedResponses

        public boolean getAcceptCompressedResponses()
        Get the HTTPRequestNode "Accept compressed responses by default" property
        Returns:
        boolean; the value of the property "Accept compressed responses by default"
      • setValidateAllValueConstraints

        public HTTPRequestNode setValidateAllValueConstraints(boolean value)
        Set the HTTPRequestNode "Include all value constraints" property
        Parameters:
        value - boolean ; the value to set the property "Include all value constraints"
      • getValidateAllValueConstraints

        public boolean getValidateAllValueConstraints()
        Get the HTTPRequestNode "Include all value constraints" property
        Returns:
        boolean; the value of the property "Include all value constraints"
      • setSecurityProfileName

        public HTTPRequestNode setSecurityProfileName(java.lang.String value)
        Set the HTTPRequestNode "Security profile" property
        Parameters:
        value - String ; the value to set the property "Security profile"
      • getSecurityProfileName

        public java.lang.String getSecurityProfileName()
        Get the HTTPRequestNode "Security profile" property
        Returns:
        String; the value of the property "Security profile"
      • getNodeName

        public java.lang.String getNodeName()
        Description copied from class: Node
        Gets the label name of this node
          MessageFlow mf1 = patternInstanceManager.getMessageFlow("MyFlowProject", "mf1.msgflow");
          Node inputMQNode = mf1.getNodeByName("My Input Node");
          inputMQNode.setNodeName("Renamed Input Node");
         
        Overrides:
        getNodeName in class Node
        Returns:
        String; the node name