Class FcHttpRequestProps

    • Constructor Detail

      • FcHttpRequestProps

        public FcHttpRequestProps()
    • Method Detail

      • getFilesToTransmit

        public MultiFile getFilesToTransmit()
      • getHttpVerb

        public String getHttpVerb()
        Returns:
        The HTTP verb to use for the HTTP request.
      • getInputCharset

        public String getInputCharset()
      • getOutputCharset

        public String getOutputCharset()
      • getPostUrl

        public String getPostUrl()
      • isAsResponsePage

        public boolean isAsResponsePage()
      • isAttachToFormRecord

        public boolean isAttachToFormRecord()
        Specified by:
        isAttachToFormRecord in interface IAttachableFile
        Returns:
        Whether files created by this file providing action are attached to the form record.
      • isDisallowMessageBody

        public boolean isDisallowMessageBody()
        Returns:
        When a custom getHttpVerb() is selected, whether a message body is allowed. If no message body is allowed, parameters will be added as URL parameters and no files will be sent.
      • isSendAllFormValues

        public boolean isSendAllFormValues()
      • isShowBasicAuthProps

        public boolean isShowBasicAuthProps()
      • isShowDisallowMessageBody

        public boolean isShowDisallowMessageBody()
      • isShowFilesToTransmit

        public boolean isShowFilesToTransmit()
      • isShowProxyProps

        public boolean isShowProxyProps()
      • isTreat4xxAsNormal

        public boolean isTreat4xxAsNormal()
        Returns:
        When true, treats responses with 4xx status codes as normal. When false, throws an error instead (the default behavior).
      • isTreat5xxAsNormal

        public boolean isTreat5xxAsNormal()
        Returns:
        When true, treats responses with 5xx status codes as normal. When false, throws an error instead (the default behavior).
      • isUseBasicAuth

        public boolean isUseBasicAuth()
      • isUseFieldAlias

        public boolean isUseFieldAlias()
      • isUseProxy

        public boolean isUseProxy()
      • setAsResponsePage

        public void setAsResponsePage​(boolean asResponsePage)
      • setAttachToFormRecord

        public void setAttachToFormRecord​(boolean attachToFormRecord)
        Specified by:
        setAttachToFormRecord in interface IAttachableFile
        Parameters:
        attachToFormRecord - Whether files created by this file providing action are attached to the form record.
      • setDisallowMessageBody

        public void setDisallowMessageBody​(boolean disallowMessageBody)
        Parameters:
        disallowMessageBody - When a custom getHttpVerb() is selected, whether a message body is allowed. If no message body is allowed, parameters will be added as URL parameters and no files will be sent.
      • setFilesToTransmit

        public void setFilesToTransmit​(MultiFile filesToTransmit)
      • setHeaderParameters

        public void setHeaderParameters​(List<Setting<String>> headerParameters)
      • setHttpVerb

        public void setHttpVerb​(String httpVerb)
        Parameters:
        httpVerb - The HTTP verb to use for the HTTP request.
      • setInputCharset

        public void setInputCharset​(String inputCharset)
      • setOutputCharset

        public void setOutputCharset​(String outputCharset)
      • setPostUrl

        public void setPostUrl​(String postUrl)
      • setRequestParameters

        public void setRequestParameters​(List<Setting<String>> requestParameters)
      • setSendAllFormValues

        public void setSendAllFormValues​(boolean sendAllFormValues)
      • setTreat4xxAsNormal

        public void setTreat4xxAsNormal​(boolean treat4xxAsNormal)
        Parameters:
        treat4xxAsNormal - When true, treats responses with 4xx status codes as normal. When false, throws an error instead (the default behavior).
      • setTreat5xxAsNormal

        public void setTreat5xxAsNormal​(boolean treat5xxAsNormal)
        Parameters:
        treat5xxAsNormal - When true, treats responses with 5xx status codes as normal. When false, throws an error instead (the default behavior).
      • setUseBasicAuth

        public void setUseBasicAuth​(boolean useBasicAuth)
      • setUseFieldAlias

        public void setUseFieldAlias​(boolean useFieldAlias)
      • setUseProxy

        public void setUseProxy​(boolean useProxy)
      • setXslTemplate

        public void setXslTemplate​(UuidEntityRef xslTemplate)