Class WebImage

    • Method Detail

      • getSource

        public java.lang.String getSource()
      • getAltText

        public java.lang.String getAltText()
      • getLink

        public WebLink getLink()
      • getParameterNames

        public java.lang.String[] getParameterNames()
        Returns an array containing the names of any parameters defined as part of this link's URL.
        Specified by:
        getParameterNames in class WebRequestSource
      • getParameterValues

        public java.lang.String[] getParameterValues​(java.lang.String name)
        Returns the multiple default values of the named parameter.
        Specified by:
        getParameterValues in class WebRequestSource
      • addPresetParameter

        protected void addPresetParameter​(java.lang.String name,
                                          java.lang.String value)
        Description copied from class: WebRequestSource
        Records a parameter defined by including it in the destination URL. The value can be null, if the parameter name was not specified with an equals sign.
        Specified by:
        addPresetParameter in class WebRequestSource
      • recordParameters

        public void recordParameters​(com.meterware.httpunit.protocol.ParameterProcessor processor)
                              throws java.io.IOException
        Iterates through the parameters in this holder, recording them in the supplied parameter processor.
        Throws:
        java.io.IOException