com.meterware.httpunit.ParameterProcessor
com.meterware.httpunit.IllegalParameterValueException
com.meterware.httpunit.MessageBody
com.meterware.httpunit.MimeEncodedMessageBody
com.meterware.httpunit.MimeEncodedMessageBody$MimeEncoding
com.meterware.httpunit.SelectionFormControl
com.meterware.httpunit.SelectionFormControl$MultiSelectOptions
com.meterware.httpunit.SelectionFormControl$Option
com.meterware.httpunit.SelectionFormControl$Options
com.meterware.httpunit.SelectionFormControl$Scriptable
com.meterware.httpunit.SelectionFormControl$SingleSelectOptions
com.meterware.httpunit.URLEncodedMessageBody
com.meterware.httpunit.URLEncodedString
com.meterware.httpunit.UploadFileSpec
com.meterware.httpunit.WebForm$DisabledSubmitButtonException
com.meterware.servletunit.BasicAuthenticationRequiredException
com.meterware.httpunit.HTMLElement
Declaration Changes:
old:public interface com.meterware.httpunit.HTMLElement
new:public interface com.meterware.httpunit.HTMLElement extends com.meterware.httpunit.scripting.ScriptingEventHandlerRemoved Methods:
public abstract com.meterware.httpunit.scripting.ScriptableDelegate getScriptableDelegate()
New Methods:
public abstract org.w3c.dom.Node getNode()
public abstract com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
public abstract com.meterware.httpunit.scripting.ScriptingHandler getScriptingHandler()
public abstract com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
public abstract void removeAttribute(java.lang.String)
public abstract void setAttribute(java.lang.String, java.lang.Object)
com.meterware.httpunit.parsing.DocumentAdapter
Removed Methods:
public abstract com.meterware.httpunit.scripting.ScriptableDelegate getScriptableObject()
public abstract void setRootNode(org.w3c.dom.Node)
New Methods:
public abstract com.meterware.httpunit.scripting.ScriptingHandler getScriptingHandler()
public abstract void setDocument(org.w3c.dom.html.HTMLDocument)
com.meterware.httpunit.parsing.HTMLParser
New Methods:
public abstract boolean supportsForceTagCase()
com.meterware.httpunit.scripting.Input
New Methods:
public abstract void removeAttribute(java.lang.String)
public abstract void sendOnChangeEvent()
public abstract void setAttribute(java.lang.String, java.lang.Object)
com.meterware.httpunit.scripting.ScriptingEngine
Declaration Changes:
old:public interface com.meterware.httpunit.scripting.ScriptingEngine
new:public interface com.meterware.httpunit.scripting.ScriptingEngine extends com.meterware.httpunit.scripting.ScriptingHandlerRemoved Methods:
public abstract java.lang.String evaluateScriptExpression(java.lang.String)
public abstract java.lang.String executeScript(java.lang.String, java.lang.String)
public abstract boolean performEvent(java.lang.String)
public abstract boolean supportsScriptLanguage(java.lang.String)
com.meterware.httpunit.scripting.ScriptingEngineFactory
New Methods:
public abstract com.meterware.httpunit.scripting.ScriptingHandler createHandler(com.meterware.httpunit.HTMLElement)
public abstract com.meterware.httpunit.scripting.ScriptingHandler createHandler(com.meterware.httpunit.WebResponse)
com.meterware.httpunit.AuthorizationRequiredException
Removed Fields:
private java.lang.String _params
Removed Constructors:
AuthorizationRequiredException(java.lang.String)
protected AuthorizationRequiredException(java.lang.String, java.lang.String)
Removed Methods:
private void loadProperties()
Field Declaration Changes:
old:private java.util.Properties _properties
new:private java.util.Map _propertiesNew Constructors:
private AuthorizationRequiredException(java.lang.String, java.util.Map)
New Methods:
public static com.meterware.httpunit.AuthorizationRequiredException createBasicAuthenticationRequiredException(java.lang.String)
static com.meterware.httpunit.AuthorizationRequiredException createException(java.lang.String, java.util.Map)
private java.lang.String unQuote(java.lang.String)
com.meterware.httpunit.BlockElement
Removed Methods:
public com.meterware.httpunit.scripting.ScriptableDelegate getScriptableDelegate()
Field Declaration Changes:
old:private com.meterware.httpunit.scripting.ScriptableDelegate _scriptable
new:private com.meterware.httpunit.scripting.ScriptingHandler _scriptableNew Methods:
public boolean doEvent(java.lang.String)[deprecated]
public boolean doEventScript(java.lang.String)
public org.w3c.dom.Node getNode()
public com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
public com.meterware.httpunit.scripting.ScriptingHandler getScriptingHandler()
public boolean handleEvent(java.lang.String)
public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
public void removeAttribute(java.lang.String)
public void setAttribute(java.lang.String, java.lang.Object)
com.meterware.httpunit.BooleanFormControl
Removed Fields:
private boolean _isChecked
private final boolean _isCheckedDefault
private java.lang.String[] _value
Removed Constructors:
public BooleanFormControl(com.meterware.httpunit.WebForm, org.w3c.dom.Node)
Removed Methods:
void addValues(com.meterware.httpunit.ParameterProcessor, java.lang.String) throws java.io.IOException
void reset()
Method Changes:
old:static boolean access$000(com.meterware.httpunit.BooleanFormControl)
new:static com.meterware.httpunit.dom.HTMLInputElementImpl access$000(com.meterware.httpunit.BooleanFormControl)
old:java.lang.String[] getDisplayedOptions()
new:protected java.lang.String[] getDisplayedOptions()
old:protected com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
new:public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()New Fields:
private com.meterware.httpunit.dom.HTMLInputElementImpl _element
New Constructors:
public BooleanFormControl(com.meterware.httpunit.WebForm, com.meterware.httpunit.dom.HTMLInputElementImpl)
New Methods:
protected void addValues(com.meterware.httpunit.protocol.ParameterProcessor, java.lang.String) throws java.io.IOException
protected java.lang.String getValueAttribute()
protected void setValueAttribute(java.lang.String)
com.meterware.httpunit.Button
Removed Fields:
private java.lang.String _onClickEvent
Removed Constructors:
Button(com.meterware.httpunit.WebForm, org.w3c.dom.Node)
Button(com.meterware.httpunit.WebResponse, org.w3c.dom.Node)
Removed Methods:
void addValues(com.meterware.httpunit.ParameterProcessor, java.lang.String) throws java.io.IOException
protected final boolean doOnClickEvent()
Method Changes:
old:protected com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
new:public com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
old:java.lang.String[] getValues()
new:protected java.lang.String[] getValues()
old:protected com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
new:public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()New Fields:
private boolean _wasEnabled
New Constructors:
Button(com.meterware.httpunit.WebForm, com.meterware.httpunit.dom.HTMLControl)
Button(com.meterware.httpunit.WebResponse, com.meterware.httpunit.dom.HTMLControl)
New Methods:
protected void addValues(com.meterware.httpunit.protocol.ParameterProcessor, java.lang.String) throws java.io.IOException
protected void doButtonAction(int, int) throws java.io.IOException, org.xml.sax.SAXException
protected boolean doOnClickSequence(int, int) throws java.io.IOException, org.xml.sax.SAXException
public void rememberEnableState()
public void throwDisabledException()
boolean wasEnabled()
com.meterware.httpunit.CheckboxFormControl
Removed Constructors:
public CheckboxFormControl(com.meterware.httpunit.WebForm, org.w3c.dom.Node)
Method Changes:
old:void claimUniqueValue(java.util.List)
new:protected void claimUniqueValue(java.util.List)New Constructors:
public CheckboxFormControl(com.meterware.httpunit.WebForm, com.meterware.httpunit.dom.HTMLInputElementImpl)
com.meterware.httpunit.ClientProperties
New Fields:
private java.lang.String _overrideContextType
private boolean _sendReferer
New Methods:
public java.lang.String getOverrideContextType()
public boolean isSendReferer()
public void setOverrideContextType(java.lang.String)
public void setSendReferer(boolean)
com.meterware.httpunit.FileSubmitFormControl
Removed Constructors:
public FileSubmitFormControl(com.meterware.httpunit.WebForm, org.w3c.dom.Node)
Removed Methods:
void addValues(com.meterware.httpunit.ParameterProcessor, java.lang.String) throws java.io.IOException
Field Declaration Changes:
old:private com.meterware.httpunit.UploadFileSpec _fileToUpload
new:private com.meterware.httpunit.protocol.UploadFileSpec _fileToUploadMethod Changes:
old:protected com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
new:public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()New Constructors:
public FileSubmitFormControl(com.meterware.httpunit.WebForm, com.meterware.httpunit.dom.HTMLInputElementImpl)
New Methods:
protected void addValues(com.meterware.httpunit.protocol.ParameterProcessor, java.lang.String) throws java.io.IOException
com.meterware.httpunit.FixedURLWebRequestSource
Removed Methods:
void recordParameters(com.meterware.httpunit.ParameterProcessor) throws java.io.IOException
void recordPredefinedParameters(com.meterware.httpunit.ParameterProcessor) throws java.io.IOException
void setParameter(java.lang.String, com.meterware.httpunit.UploadFileSpec[])
void setSubmitAsMime(boolean)
New Methods:
public void recordParameters(com.meterware.httpunit.protocol.ParameterProcessor) throws java.io.IOException
void recordPredefinedParameters(com.meterware.httpunit.protocol.ParameterProcessor) throws java.io.IOException
void setParameter(java.lang.String, com.meterware.httpunit.protocol.UploadFileSpec[])
com.meterware.httpunit.FormControl
Declaration Changes:
old:abstract class com.meterware.httpunit.FormControl extends com.meterware.httpunit.HTMLElementBase
new:public abstract class com.meterware.httpunit.FormControl extends com.meterware.httpunit.HTMLElementBaseRemoved Fields:
private boolean _disabled
private final java.lang.String _onChangeEvent
private final java.lang.String _onClickEvent
private final boolean _readOnly
private java.lang.String _valueAttribute
Removed Constructors:
FormControl(com.meterware.httpunit.WebForm, org.w3c.dom.Node)
Removed Methods:
static java.lang.String access$002(com.meterware.httpunit.FormControl, java.lang.String)
abstract void addValues(com.meterware.httpunit.ParameterProcessor, java.lang.String) throws java.io.IOException
private static org.w3c.dom.Node newEmptyNode(com.meterware.httpunit.WebForm)
Newly Deprecated Methods:
protected void sendOnChangeEvent()
protected void sendOnClickEvent()
Method Changes:
old:void claimUniqueValue(java.util.List)
new:protected void claimUniqueValue(java.util.List)
old:java.lang.String[] getDisplayedOptions()
new:protected java.lang.String[] getDisplayedOptions()
old:protected com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
new:public com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
old:abstract java.lang.String[] getValues()
new:protected abstract java.lang.String[] getValues()
old:boolean isDisabled()
new:public boolean isDisabled()
old:boolean isHidden()
new:public boolean isHidden()
old:boolean isMultiValued()
new:protected boolean isMultiValued()
old:boolean isReadOnly()
new:protected boolean isReadOnly()
old:protected com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
new:public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
old:void reset()
new:protected void reset()New Fields:
private com.meterware.httpunit.dom.HTMLControl _control
New Constructors:
protected FormControl(com.meterware.httpunit.WebForm, com.meterware.httpunit.dom.HTMLControl)
New Methods:
protected abstract void addValues(com.meterware.httpunit.protocol.ParameterProcessor, java.lang.String) throws java.io.IOException
protected boolean doOnChangeEvent()
protected boolean doOnClickEvent()
protected boolean doOnMouseDownEvent()
protected boolean doOnMouseUpEvent()
protected java.lang.String emptyIfNull(java.lang.String)
private static com.meterware.httpunit.dom.HTMLControl newEmptyControlElement(com.meterware.httpunit.WebForm)
protected void sendOnMouseDownEvent()[deprecated]
protected void sendOnMouseUpEvent()[deprecated]
protected void setValueAttribute(java.lang.String)
com.meterware.httpunit.FormControl$Scriptable
Declaration Changes:
old:class com.meterware.httpunit.FormControl$Scriptable extends com.meterware.httpunit.HTMLElementScriptable implements com.meterware.httpunit.scripting.Input
new:public class com.meterware.httpunit.FormControl$Scriptable extends com.meterware.httpunit.HTMLElementScriptable implements com.meterware.httpunit.scripting.InputNew Methods:
public void blur()
public void focus()
public void sendOnChangeEvent()
public void setAttribute(java.lang.String, java.lang.Object)
com.meterware.httpunit.FormParameter
Declaration Changes:
old:class com.meterware.httpunit.FormParameter extends java.lang.Object
new:public class com.meterware.httpunit.FormParameter extends java.lang.ObjectRemoved Methods:
void setFiles(com.meterware.httpunit.UploadFileSpec[])
Constructor Changes:
old:FormParameter()
new:public FormParameter()Method Changes:
old:private com.meterware.httpunit.FormControl[] getControls()
new:public com.meterware.httpunit.FormControl[] getControls()New Methods:
public com.meterware.httpunit.FormControl getControl()
void setFiles(com.meterware.httpunit.protocol.UploadFileSpec[])
com.meterware.httpunit.FormParameter$UnusedParameterValueException
Declaration Changes:
old:class com.meterware.httpunit.FormParameter$UnusedParameterValueException extends com.meterware.httpunit.IllegalRequestParameterException
new:public class com.meterware.httpunit.FormParameter$UnusedParameterValueException extends com.meterware.httpunit.IllegalRequestParameterException
com.meterware.httpunit.GetMethodWebRequest
New Constructors:
GetMethodWebRequest(com.meterware.httpunit.WebResponse, org.w3c.dom.Element, java.net.URL, java.lang.String, java.lang.String)
com.meterware.httpunit.HTMLElementBase
Removed Methods:
protected abstract com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
public com.meterware.httpunit.scripting.ScriptableDelegate getScriptableDelegate()
Field Declaration Changes:
old:private com.meterware.httpunit.scripting.ScriptableDelegate _scriptable
new:private com.meterware.httpunit.scripting.ScriptingHandler _scriptable
old:private java.util.List _supportedAttributes
new:private java.util.Set _supportedAttributesMethod Changes:
old:protected org.w3c.dom.Node getNode()
new:public org.w3c.dom.Node getNode()
old:protected com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
new:public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()New Methods:
public boolean doEvent(java.lang.String)[deprecated]
public boolean doEventScript(java.lang.String)
public com.meterware.httpunit.scripting.ScriptingHandler getScriptingHandler()
public boolean handleEvent(java.lang.String)
public void removeAttribute(java.lang.String)
public void setAttribute(java.lang.String, java.lang.Object)
com.meterware.httpunit.HTMLElementScriptable
New Methods:
public java.lang.String getAttribute(java.lang.String)
protected com.meterware.httpunit.HTMLElement get_element()
public boolean handleEvent(java.lang.String)
public void removeAttribute(java.lang.String)
public void setAttribute(java.lang.String, java.lang.Object)
com.meterware.httpunit.HTMLPage
Constructor Changes:
old:HTMLPage(com.meterware.httpunit.WebResponse, com.meterware.httpunit.FrameSelector, java.net.URL, java.lang.String, java.lang.String) throws java.io.IOException, org.xml.sax.SAXException
new:HTMLPage(com.meterware.httpunit.WebResponse, com.meterware.httpunit.FrameSelector, java.net.URL, java.lang.String, java.lang.String)
com.meterware.httpunit.HTMLPage$1
Removed Methods:
public com.meterware.httpunit.scripting.ScriptableDelegate getScriptableObject()
public void setRootNode(org.w3c.dom.Node)
New Methods:
public com.meterware.httpunit.scripting.ScriptingHandler getScriptingHandler()
public void setDocument(org.w3c.dom.html.HTMLDocument)
com.meterware.httpunit.HTMLPage$Scriptable
Removed Methods:
private com.meterware.httpunit.scripting.NamedDelegate getNamedItem(com.meterware.httpunit.scripting.NamedDelegate[], java.lang.String)
Method Changes:
old:public com.meterware.httpunit.WebForm$Scriptable[] getForms()
new:public com.meterware.httpunit.scripting.ScriptingHandler[] getForms()
old:public com.meterware.httpunit.WebImage$Scriptable[] getImages()
new:public com.meterware.httpunit.scripting.ScriptingHandler[] getImages()
old:public com.meterware.httpunit.WebLink$Scriptable[] getLinks()
new:public com.meterware.httpunit.scripting.ScriptingHandler[] getLinks()New Methods:
private com.meterware.httpunit.scripting.NamedDelegate getNamedItem(com.meterware.httpunit.scripting.ScriptingHandler[], java.lang.String)
com.meterware.httpunit.HeadMethodWebRequest
Removed Methods:
public java.lang.String getMethod()
com.meterware.httpunit.HeaderOnlyWebRequest
Declaration Changes:
old:public abstract class com.meterware.httpunit.HeaderOnlyWebRequest extends com.meterware.httpunit.WebRequest
new:public class com.meterware.httpunit.HeaderOnlyWebRequest extends com.meterware.httpunit.WebRequestNew Constructors:
protected HeaderOnlyWebRequest(com.meterware.httpunit.WebResponse, org.w3c.dom.Element, java.net.URL, java.lang.String, java.lang.String)
New Methods:
public void setMethod(java.lang.String)
com.meterware.httpunit.HiddenFieldFormControl
Removed Constructors:
public HiddenFieldFormControl(com.meterware.httpunit.WebForm, org.w3c.dom.Node)
Method Changes:
old:boolean isHidden()
new:public boolean isHidden()New Constructors:
public HiddenFieldFormControl(com.meterware.httpunit.WebForm, com.meterware.httpunit.dom.HTMLInputElementImpl)
com.meterware.httpunit.HttpException
New Fields:
private java.lang.Throwable _cause
New Constructors:
protected HttpException(int, java.lang.String, java.net.URL, java.lang.Throwable)
protected HttpException(int, java.lang.Throwable)
New Methods:
public java.lang.Throwable getCause()
com.meterware.httpunit.HttpUnitOptions
New Fields:
private static final java.lang.String NEW_SCRIPTING_ENGINE_FACTORY
public static final java.lang.String ORIGINAL_SCRIPTING_ENGINE_FACTORY
private static final java.lang.String RCSID
private static java.util.Set _customAttributes
private static int _javaScriptOptimizationLevel
New Methods:
public static void addCustomAttribute(java.lang.String)[deprecated]
static java.util.Set getCustomAttributes()[deprecated]
public static int getJavaScriptOptimizationLevel()
public static void setJavaScriptOptimizationLevel(int)
com.meterware.httpunit.HttpUnitOptions$1
New Methods:
public com.meterware.httpunit.scripting.ScriptingHandler createHandler(com.meterware.httpunit.HTMLElement)
public com.meterware.httpunit.scripting.ScriptingHandler createHandler(com.meterware.httpunit.WebResponse)
com.meterware.httpunit.HttpUnitUtils
Removed Fields:
public static final int DEFAULT_BUFFER_SIZE
Removed Methods:
static java.lang.String trimAll(java.lang.String)
New Fields:
private static boolean EXCEPTION_DEBUG
New Methods:
static java.lang.String encodeSpaces(java.lang.String)
public static void handleException(java.lang.Throwable)
protected static boolean isEXCEPTION_DEBUG()
public static boolean isEclipse()
public static org.w3c.dom.Document parse(java.io.InputStream) throws org.xml.sax.SAXException, java.io.IOException
public static org.w3c.dom.Document parse(org.xml.sax.InputSource) throws org.xml.sax.SAXException, java.io.IOException
public static java.lang.String parseISToString(java.io.InputStream)
public static boolean setEXCEPTION_DEBUG(boolean)
static {}
com.meterware.httpunit.HttpWebResponse
New Methods:
private boolean isErrorResponse(java.net.URLConnection)
com.meterware.httpunit.HttpsProtocolSupport
Field Declaration Changes:
old:private static final java.lang.String SSL_PROTOCOL_HANDLER
new:private static java.lang.String SSL_PROTOCOL_HANDLER
old:private static final java.lang.String SunJSSE_PROVIDER_CLASS
new:public static final java.lang.String SunJSSE_PROVIDER_CLASSMethod Changes:
old:private static java.lang.Class getHttpsProviderClass() throws java.lang.ClassNotFoundException
new:public static java.lang.Class getHttpsProviderClass() throws java.lang.ClassNotFoundExceptionNew Fields:
public static final java.lang.String IBMJSSE_PROVIDER_CLASS
public static final java.lang.String IBMSSL_PROTOCOL_HANDLER
private static java.lang.String JSSE_PROVIDER_CLASS
public static final java.lang.String SunJSSE_PROVIDER_CLASS2
public static final java.lang.String SunSSL_PROTOCOL_HANDLER
New Methods:
static {}
public static void useIBM()
public static void useProvider(java.lang.String, java.lang.String)
com.meterware.httpunit.MessageBodyWebRequest
Removed Constructors:
protected MessageBodyWebRequest(com.meterware.httpunit.WebForm, com.meterware.httpunit.SubmitButton, int, int)
protected MessageBodyWebRequest(java.lang.String)
protected MessageBodyWebRequest(java.net.URL, java.lang.String, java.lang.String)
Method Changes:
old:protected abstract com.meterware.httpunit.MessageBody getMessageBody()
new:protected com.meterware.httpunit.protocol.MessageBody getMessageBody()New Fields:
protected com.meterware.httpunit.protocol.MessageBody _body
private boolean _mimeEncoded
New Constructors:
protected MessageBodyWebRequest(java.lang.String, boolean)
protected MessageBodyWebRequest(java.lang.String, com.meterware.httpunit.protocol.MessageBody)
protected MessageBodyWebRequest(java.net.URL, java.lang.String, java.lang.String, boolean)
New Methods:
public boolean isMimeEncoded()
com.meterware.httpunit.MessageBodyWebRequest$InputStreamMessageBody
Declaration Changes:
old:public class com.meterware.httpunit.MessageBodyWebRequest$InputStreamMessageBody extends com.meterware.httpunit.MessageBody
new:public class com.meterware.httpunit.MessageBodyWebRequest$InputStreamMessageBody extends com.meterware.httpunit.protocol.MessageBodyRemoved Constructors:
public MessageBodyWebRequest$InputStreamMessageBody(com.meterware.httpunit.MessageBodyWebRequest, java.io.InputStream, java.lang.String)
Removed Methods:
void writeTo(java.io.OutputStream) throws java.io.IOException
Method Changes:
old:java.lang.String getContentType()
new:public java.lang.String getContentType()New Constructors:
public MessageBodyWebRequest$InputStreamMessageBody(java.io.InputStream, java.lang.String)
New Methods:
public void writeTo(java.io.OutputStream, com.meterware.httpunit.protocol.ParameterCollection) throws java.io.IOException
com.meterware.httpunit.NodeUtils
Declaration Changes:
old:class com.meterware.httpunit.NodeUtils extends java.lang.Object
new:public class com.meterware.httpunit.NodeUtils extends java.lang.ObjectConstructor Changes:
old:NodeUtils()
new:public NodeUtils()Method Changes:
old:static boolean isNodeAttributePresent(org.w3c.dom.Node, java.lang.String)
new:public static boolean isNodeAttributePresent(org.w3c.dom.Node, java.lang.String)New Methods:
static void removeNodeAttribute(org.w3c.dom.Node, java.lang.String)
static void setNodeAttribute(org.w3c.dom.Node, java.lang.String, java.lang.String)
com.meterware.httpunit.ParameterHolder
Declaration Changes:
old:abstract class com.meterware.httpunit.ParameterHolder extends java.lang.Object
new:abstract class com.meterware.httpunit.ParameterHolder extends java.lang.Object implements com.meterware.httpunit.protocol.ParameterCollectionRemoved Methods:
abstract void recordParameters(com.meterware.httpunit.ParameterProcessor) throws java.io.IOException
abstract void recordPredefinedParameters(com.meterware.httpunit.ParameterProcessor) throws java.io.IOException
abstract void setParameter(java.lang.String, com.meterware.httpunit.UploadFileSpec[])
abstract void setSubmitAsMime(boolean)
New Methods:
abstract void recordPredefinedParameters(com.meterware.httpunit.protocol.ParameterProcessor) throws java.io.IOException
abstract void setParameter(java.lang.String, com.meterware.httpunit.protocol.UploadFileSpec[])
com.meterware.httpunit.ParsedHTML
Declaration Changes:
old:class com.meterware.httpunit.ParsedHTML extends java.lang.Object
new:public class com.meterware.httpunit.ParsedHTML extends java.lang.ObjectRemoved Fields:
private com.meterware.httpunit.WebForm _activeForm
private java.util.ArrayList _appletList
private com.meterware.httpunit.WebApplet[] _applets
private java.util.HashMap _elements
private com.meterware.httpunit.WebForm[] _forms
private java.util.ArrayList _formsList
private com.meterware.httpunit.WebImage[] _images
private java.util.ArrayList _imagesList
private java.util.ArrayList _linkList
private com.meterware.httpunit.WebLink[] _links
Removed Methods:
static com.meterware.httpunit.WebApplet access$1200(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
static com.meterware.httpunit.WebList access$1500(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
static com.meterware.httpunit.ParsedHTML$HTMLElementFactory access$1600(java.lang.String)
static java.util.HashMap access$1800(com.meterware.httpunit.ParsedHTML)
static com.meterware.httpunit.TextBlock access$1900(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Node)
static com.meterware.httpunit.WebResponse access$2000(com.meterware.httpunit.ParsedHTML)
static com.meterware.httpunit.WebForm access$400(com.meterware.httpunit.ParsedHTML)
static com.meterware.httpunit.WebForm access$402(com.meterware.httpunit.ParsedHTML, com.meterware.httpunit.WebForm)
Method Changes:
old:static com.meterware.httpunit.WebFrame access$1000(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
new:static com.meterware.httpunit.WebApplet access$1000(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
old:static com.meterware.httpunit.WebImage access$1100(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
new:static com.meterware.httpunit.WebTable access$1100(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
old:static com.meterware.httpunit.WebTable access$1300(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
new:static com.meterware.httpunit.Button access$1300(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
old:static com.meterware.httpunit.Button access$1400(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
new:static com.meterware.httpunit.WebList access$1400(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
old:static com.meterware.httpunit.ClientProperties access$1700(com.meterware.httpunit.ParsedHTML)
new:static com.meterware.httpunit.ElementRegistry access$1700(com.meterware.httpunit.ParsedHTML)
old:static com.meterware.httpunit.WebLink access$500(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
new:static com.meterware.httpunit.TextBlock access$500(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
old:static com.meterware.httpunit.TextBlock access$600(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
new:static com.meterware.httpunit.HTMLElement access$600(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
old:static void access$700(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
new:static com.meterware.httpunit.WebFrame access$700(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
old:static com.meterware.httpunit.HTMLElement access$800(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
new:static com.meterware.httpunit.WebFrame access$800(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
old:static com.meterware.httpunit.WebFrame access$900(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
new:static com.meterware.httpunit.WebImage access$900(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
old:private void interpretScriptElement(org.w3c.dom.Element)
new:void interpretScriptElement(org.w3c.dom.Element)
old:private boolean isWebLink(org.w3c.dom.Node)
new:public static boolean isWebLink(org.w3c.dom.Node)New Fields:
private com.meterware.httpunit.ElementRegistry _registry
New Methods:
static com.meterware.httpunit.WebForm access$1200(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Node)
static com.meterware.httpunit.ParsedHTML$HTMLElementFactory access$1500(java.lang.String)
static com.meterware.httpunit.ClientProperties access$1600(com.meterware.httpunit.ParsedHTML)
static com.meterware.httpunit.TextBlock access$1800(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Node)
static com.meterware.httpunit.WebResponse access$1900(com.meterware.httpunit.ParsedHTML)
static com.meterware.httpunit.WebLink access$400(com.meterware.httpunit.ParsedHTML, org.w3c.dom.Element)
private void clearCaches()
com.meterware.httpunit.HTMLElement getElement(org.w3c.dom.Node)
private com.meterware.httpunit.WebForm getWebForm(org.w3c.dom.Node)
com.meterware.httpunit.ParsedHTML$1
Method Changes:
old:protected com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
new:public com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
old:protected com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
new:public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
com.meterware.httpunit.ParsedHTML$FormControlFactory
Removed Methods:
protected void addToLists(com.meterware.httpunit.NodeUtils$PreOrderTraversal, com.meterware.httpunit.HTMLElement)
private com.meterware.httpunit.WebForm getForm(com.meterware.httpunit.NodeUtils$PreOrderTraversal)
com.meterware.httpunit.ParsedHTML$NoScriptElement
Method Changes:
old:protected com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
new:public com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
old:protected com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
new:public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
com.meterware.httpunit.ParsedHTML$WebFormFactory
Removed Methods:
protected void addToLists(com.meterware.httpunit.NodeUtils$PreOrderTraversal, com.meterware.httpunit.HTMLElement)
com.meterware.httpunit.PasswordFieldFormControl
Removed Constructors:
public PasswordFieldFormControl(com.meterware.httpunit.WebForm, org.w3c.dom.Node)
New Constructors:
public PasswordFieldFormControl(com.meterware.httpunit.WebForm, com.meterware.httpunit.dom.HTMLInputElementImpl)
com.meterware.httpunit.PostMethodWebRequest
Removed Fields:
private com.meterware.httpunit.MessageBody _body
Removed Methods:
public void setMimeEncoded(boolean)
Method Changes:
old:protected com.meterware.httpunit.MessageBody getMessageBody()
new:protected com.meterware.httpunit.protocol.MessageBody getMessageBody()New Constructors:
public PostMethodWebRequest(java.lang.String, boolean)
public PostMethodWebRequest(java.net.URL, java.lang.String, java.lang.String, boolean)
com.meterware.httpunit.PresetFormParameter
Removed Methods:
void addValues(com.meterware.httpunit.ParameterProcessor, java.lang.String) throws java.io.IOException
New Methods:
protected void addValues(com.meterware.httpunit.protocol.ParameterProcessor, java.lang.String) throws java.io.IOException
com.meterware.httpunit.PutMethodWebRequest
Removed Fields:
private com.meterware.httpunit.MessageBody _body
Removed Methods:
protected com.meterware.httpunit.MessageBody getMessageBody()
com.meterware.httpunit.RadioButtonFormControl
Declaration Changes:
old:class com.meterware.httpunit.RadioButtonFormControl extends com.meterware.httpunit.BooleanFormControl
new:public class com.meterware.httpunit.RadioButtonFormControl extends com.meterware.httpunit.BooleanFormControlRemoved Constructors:
public RadioButtonFormControl(com.meterware.httpunit.WebForm, org.w3c.dom.Node)
Method Changes:
old:java.lang.String getQueryValue()
new:public java.lang.String getQueryValue()New Constructors:
public RadioButtonFormControl(com.meterware.httpunit.WebForm, com.meterware.httpunit.dom.HTMLInputElementImpl)
com.meterware.httpunit.RadioGroupFormControl
Declaration Changes:
old:class com.meterware.httpunit.RadioGroupFormControl extends com.meterware.httpunit.FormControl
new:public class com.meterware.httpunit.RadioGroupFormControl extends com.meterware.httpunit.FormControlRemoved Methods:
void addValues(com.meterware.httpunit.ParameterProcessor, java.lang.String) throws java.io.IOException
Method Changes:
old:void claimUniqueValue(java.util.List)
new:protected void claimUniqueValue(java.util.List)
old:java.lang.String[] getDisplayedOptions()
new:protected java.lang.String[] getDisplayedOptions()
old:void reset()
new:protected void reset()New Methods:
protected void addValues(com.meterware.httpunit.protocol.ParameterProcessor, java.lang.String) throws java.io.IOException
com.meterware.httpunit.RedirectWebRequest
Constructor Changes:
old:RedirectWebRequest(com.meterware.httpunit.WebResponse) throws java.net.MalformedURLException
new:RedirectWebRequest(com.meterware.httpunit.WebResponse)
com.meterware.httpunit.ResetButton
Removed Constructors:
ResetButton(com.meterware.httpunit.WebForm, org.w3c.dom.Node)
Removed Methods:
protected void doButtonAction()
New Constructors:
ResetButton(com.meterware.httpunit.WebForm, com.meterware.httpunit.dom.HTMLControl)
New Methods:
protected void doButtonAction(int, int)
com.meterware.httpunit.SubmitButton
Removed Constructors:
SubmitButton(com.meterware.httpunit.WebForm, org.w3c.dom.Node)
Removed Methods:
void addValues(com.meterware.httpunit.ParameterProcessor, java.lang.String) throws java.io.IOException
protected void doButtonAction() throws java.io.IOException, org.xml.sax.SAXException
Method Changes:
old:java.lang.String[] getValues()
new:protected java.lang.String[] getValues()
old:boolean isFake()
new:public boolean isFake()New Fields:
private static boolean allowUnnamedImageButton
New Constructors:
SubmitButton(com.meterware.httpunit.WebForm, com.meterware.httpunit.dom.HTMLControl)
New Methods:
protected void addValues(com.meterware.httpunit.protocol.ParameterProcessor, java.lang.String) throws java.io.IOException
protected void doButtonAction(int, int) throws java.io.IOException, org.xml.sax.SAXException
public static boolean isAllowUnnamedImageButton()
public boolean isValidImageButton()
public java.lang.String positionParameterName(java.lang.String)
public static void setAllowUnnamedImageButton(boolean)
static {}
public void throwDisabledException()
com.meterware.httpunit.TableCell
Removed Fields:
private int _colSpan
private int _rowSpan
Removed Constructors:
TableCell(com.meterware.httpunit.WebResponse, com.meterware.httpunit.FrameSelector, org.w3c.dom.Element, java.net.URL, java.lang.String, java.lang.String)
New Fields:
private org.w3c.dom.html.HTMLTableCellElement _element
New Constructors:
TableCell(com.meterware.httpunit.WebResponse, com.meterware.httpunit.FrameSelector, org.w3c.dom.html.HTMLTableCellElement, java.net.URL, java.lang.String, java.lang.String)
com.meterware.httpunit.TableRow
Removed Constructors:
TableRow(com.meterware.httpunit.WebTable, org.w3c.dom.Element)
Removed Methods:
com.meterware.httpunit.TableCell newTableCell(org.w3c.dom.Element)
Method Changes:
old:protected com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
new:public com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
old:protected com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
new:public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()New Fields:
private org.w3c.dom.html.HTMLTableRowElement _element
New Constructors:
TableRow(com.meterware.httpunit.WebTable, org.w3c.dom.html.HTMLTableRowElement)
New Methods:
com.meterware.httpunit.TableCell newTableCell(org.w3c.dom.html.HTMLTableCellElement)
com.meterware.httpunit.TextAreaFormControl
Removed Constructors:
public TextAreaFormControl(com.meterware.httpunit.WebForm, org.w3c.dom.Node)
Removed Methods:
private static java.lang.String getDefaultValue(org.w3c.dom.Node)
New Fields:
private com.meterware.httpunit.dom.HTMLTextAreaElementImpl _element
New Constructors:
public TextAreaFormControl(com.meterware.httpunit.WebForm, com.meterware.httpunit.dom.HTMLTextAreaElementImpl)
New Methods:
protected java.lang.String getDefaultValue()
protected java.lang.String getValue()
protected void setValue(java.lang.String)
com.meterware.httpunit.TextFieldFormControl
Removed Constructors:
public TextFieldFormControl(com.meterware.httpunit.WebForm, org.w3c.dom.Node)
New Fields:
private com.meterware.httpunit.dom.HTMLInputElementImpl _element
New Constructors:
public TextFieldFormControl(com.meterware.httpunit.WebForm, com.meterware.httpunit.dom.HTMLInputElementImpl)
New Methods:
protected java.lang.String getDefaultValue()
protected java.lang.String getValue()
protected void setValue(java.lang.String)
com.meterware.httpunit.TextFormControl
Removed Fields:
private java.lang.String[] _defaultValue
private java.lang.String[] _value
Removed Constructors:
public TextFormControl(com.meterware.httpunit.WebForm, org.w3c.dom.Node, java.lang.String)
Removed Methods:
static java.lang.String[] access$000(com.meterware.httpunit.TextFormControl)
static java.lang.String[] access$100(com.meterware.httpunit.TextFormControl)
void addValues(com.meterware.httpunit.ParameterProcessor, java.lang.String) throws java.io.IOException
void reset()
Method Changes:
old:protected com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
new:public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()New Constructors:
public TextFormControl(com.meterware.httpunit.WebForm, com.meterware.httpunit.dom.HTMLControl)
New Methods:
protected void addValues(com.meterware.httpunit.protocol.ParameterProcessor, java.lang.String) throws java.io.IOException
protected abstract java.lang.String getDefaultValue()
protected abstract java.lang.String getValue()
protected abstract void setValue(java.lang.String)
com.meterware.httpunit.UncheckedParameterHolder
Declaration Changes:
old:final class com.meterware.httpunit.UncheckedParameterHolder extends com.meterware.httpunit.ParameterHolder implements com.meterware.httpunit.ParameterProcessor
new:final class com.meterware.httpunit.UncheckedParameterHolder extends com.meterware.httpunit.ParameterHolder implements com.meterware.httpunit.protocol.ParameterProcessorRemoved Methods:
public void addFile(java.lang.String, com.meterware.httpunit.UploadFileSpec) throws java.io.IOException
void recordParameters(com.meterware.httpunit.ParameterProcessor) throws java.io.IOException
void recordPredefinedParameters(com.meterware.httpunit.ParameterProcessor) throws java.io.IOException
void setParameter(java.lang.String, com.meterware.httpunit.UploadFileSpec[])
void setSubmitAsMime(boolean)
New Methods:
public void addFile(java.lang.String, com.meterware.httpunit.protocol.UploadFileSpec) throws java.io.IOException
public void recordParameters(com.meterware.httpunit.protocol.ParameterProcessor) throws java.io.IOException
void recordPredefinedParameters(com.meterware.httpunit.protocol.ParameterProcessor) throws java.io.IOException
void setParameter(java.lang.String, com.meterware.httpunit.protocol.UploadFileSpec[])
com.meterware.httpunit.WebApplet
Removed Fields:
private java.lang.String _className
private java.net.URL _codeBase
Removed Constructors:
public WebApplet(com.meterware.httpunit.WebResponse, org.w3c.dom.Node, java.lang.String)
Method Changes:
old:protected com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
new:public com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
old:protected com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
new:public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()New Fields:
private org.w3c.dom.html.HTMLAppletElement _element
New Constructors:
public WebApplet(com.meterware.httpunit.WebResponse, org.w3c.dom.html.HTMLAppletElement, java.lang.String)
com.meterware.httpunit.WebClient
Newly Deprecated Methods:
com.meterware.httpunit.cookies.CookieJar getCookieJar()
public void setAuthorization(java.lang.String, java.lang.String)
Field Declaration Changes:
old:private java.util.List _clientListeners
new:private final java.util.List _clientListeners
old:private java.util.List _windowListeners
new:private final java.util.List _windowListenersMethod Changes:
old:com.meterware.httpunit.cookies.CookieJar getCookieJar()
new:public com.meterware.httpunit.cookies.CookieJar getCookieJar()[deprecated]
old:public com.meterware.httpunit.WebResponse getResponse(com.meterware.httpunit.WebRequest) throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException
new:public com.meterware.httpunit.WebResponse getResponse(com.meterware.httpunit.WebRequest) throws java.io.IOException, org.xml.sax.SAXException
old:public com.meterware.httpunit.WebResponse getResponse(java.lang.String) throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException
new:public com.meterware.httpunit.WebResponse getResponse(java.lang.String) throws java.io.IOException, org.xml.sax.SAXException
old:protected abstract com.meterware.httpunit.WebResponse newResponse(com.meterware.httpunit.WebRequest, com.meterware.httpunit.FrameSelector) throws java.net.MalformedURLException, java.io.IOException
new:protected abstract com.meterware.httpunit.WebResponse newResponse(com.meterware.httpunit.WebRequest, com.meterware.httpunit.FrameSelector) throws java.io.IOException
old:public com.meterware.httpunit.WebResponse sendRequest(com.meterware.httpunit.WebRequest) throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException
new:public com.meterware.httpunit.WebResponse sendRequest(com.meterware.httpunit.WebRequest) throws java.io.IOException, org.xml.sax.SAXException
old:public void setProxyServer(java.lang.String, int)
new:public abstract void setProxyServer(java.lang.String, int)
old:protected final void updateMainWindow(com.meterware.httpunit.FrameSelector, com.meterware.httpunit.WebResponse) throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException
new:protected final void updateMainWindow(com.meterware.httpunit.FrameSelector, com.meterware.httpunit.WebResponse) throws java.io.IOException, org.xml.sax.SAXExceptionNew Fields:
private java.util.Hashtable _credentials
private java.lang.String _fixedAuthorizationString
New Methods:
com.meterware.httpunit.WebResponse createResponse(com.meterware.httpunit.WebRequest, com.meterware.httpunit.FrameSelector) throws java.io.IOException
public com.meterware.httpunit.cookies.Cookie getCookieDetails(java.lang.String)
java.net.PasswordAuthentication getCredentialsForRealm(java.lang.String)
public void setAuthentication(java.lang.String, java.lang.String, java.lang.String)
private void setOnetimeAuthenticationHeader(java.lang.String)
com.meterware.httpunit.WebConversation
New Fields:
private int _connectTimeout
private int _readTimeout
New Methods:
public int get_connectTimeout()
public int get_readTimeout()
public void set_connectTimeout(int)
public void set_readTimeout(int)
com.meterware.httpunit.WebForm
Removed Fields:
private java.util.ArrayList _controlList
private com.meterware.httpunit.FormControl[] _formControls
private java.util.Map _formParameters
private com.meterware.httpunit.WebForm$Scriptable _scriptable
Removed Constructors:
WebForm(com.meterware.httpunit.WebResponse, java.net.URL, org.w3c.dom.Node, com.meterware.httpunit.FrameSelector, java.lang.String, java.lang.String)
Removed Methods:
static com.meterware.httpunit.FormParameter access$400(com.meterware.httpunit.WebForm, java.lang.String)
static com.meterware.httpunit.FormParameter access$500()
void addFormControl(com.meterware.httpunit.FormControl)
public com.meterware.httpunit.scripting.ScriptableDelegate getScriptableDelegate()
private void loadFormParameters(com.meterware.httpunit.FormControl[])
void recordParameters(com.meterware.httpunit.ParameterProcessor) throws java.io.IOException
void recordPredefinedParameters(com.meterware.httpunit.ParameterProcessor) throws java.io.IOException
public void setParameter(java.lang.String, com.meterware.httpunit.UploadFileSpec[])
void setSubmitAsMime(boolean)
Method Changes:
old:com.meterware.httpunit.FormControl getControlWithID(java.lang.String)
new:public com.meterware.httpunit.FormControl getControlWithID(java.lang.String)
old:private com.meterware.httpunit.FormParameter getParameter(java.lang.String)
new:public com.meterware.httpunit.FormParameter getParameter(java.lang.String)
old:public com.meterware.httpunit.WebForm$Scriptable getScriptableObject()
new:public com.meterware.httpunit.scripting.FormScriptable getScriptableObject()New Fields:
private org.w3c.dom.html.HTMLFormElement _domElement
private com.meterware.httpunit.ElementRegistry _registry
New Constructors:
WebForm(com.meterware.httpunit.WebResponse, java.net.URL, org.w3c.dom.Node, com.meterware.httpunit.FrameSelector, java.lang.String, java.lang.String, com.meterware.httpunit.ElementRegistry)
New Methods:
static com.meterware.httpunit.FormParameter access$400()
private com.meterware.httpunit.FormControl getControlForNode(org.w3c.dom.Node)
private void loadFormParameters(java.util.Map, com.meterware.httpunit.FormControl[])
public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
public void recordParameters(com.meterware.httpunit.protocol.ParameterProcessor) throws java.io.IOException
void recordPredefinedParameters(com.meterware.httpunit.protocol.ParameterProcessor) throws java.io.IOException
public void setParameter(java.lang.String, com.meterware.httpunit.protocol.UploadFileSpec[])
com.meterware.httpunit.WebForm$Scriptable
Declaration Changes:
old:public class com.meterware.httpunit.WebForm$Scriptable extends com.meterware.httpunit.HTMLElementScriptable implements com.meterware.httpunit.scripting.NamedDelegate
new:public class com.meterware.httpunit.WebForm$Scriptable extends com.meterware.httpunit.HTMLElementScriptable implements com.meterware.httpunit.scripting.NamedDelegate, com.meterware.httpunit.scripting.FormScriptable
com.meterware.httpunit.WebFrame
Method Changes:
old:protected com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
new:public com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
com.meterware.httpunit.WebImage
Removed Fields:
private java.lang.String _alt
private org.w3c.dom.Node _node
private com.meterware.httpunit.WebImage$Scriptable _scriptable
private java.lang.String _src
Removed Constructors:
WebImage(com.meterware.httpunit.WebResponse, com.meterware.httpunit.ParsedHTML, java.net.URL, org.w3c.dom.Node, com.meterware.httpunit.FrameSelector, java.lang.String, java.lang.String)
Removed Methods:
static java.lang.String access$002(com.meterware.httpunit.WebImage, java.lang.String)
public com.meterware.httpunit.scripting.ScriptableDelegate getScriptableDelegate()
public com.meterware.httpunit.WebImage$Scriptable getScriptableObject()
New Fields:
private org.w3c.dom.html.HTMLImageElement _element
New Constructors:
WebImage(com.meterware.httpunit.WebResponse, com.meterware.httpunit.ParsedHTML, java.net.URL, org.w3c.dom.html.HTMLImageElement, com.meterware.httpunit.FrameSelector, java.lang.String, java.lang.String)
New Methods:
static org.w3c.dom.html.HTMLImageElement access$000(com.meterware.httpunit.WebImage)
public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
com.meterware.httpunit.WebLink
Removed Fields:
private com.meterware.httpunit.WebLink$Scriptable _scriptable
Removed Methods:
public com.meterware.httpunit.scripting.ScriptableDelegate getScriptableDelegate()
com.meterware.httpunit.WebLink$Scriptable getScriptableObject()
New Methods:
public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
com.meterware.httpunit.WebList
Method Changes:
old:protected com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
new:public com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
old:protected com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
new:public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
com.meterware.httpunit.WebRequest
Removed Methods:
com.meterware.httpunit.WebRequestSource getWebRequestSource()
protected void setMimeEncoded(boolean)
public void setParameter(java.lang.String, com.meterware.httpunit.UploadFileSpec[])
Method Changes:
old:public abstract java.lang.String getMethod()
new:public java.lang.String getMethod()New Fields:
private java.lang.String _characterSet
private com.meterware.httpunit.WebResponse _referringPage
private org.w3c.dom.Element _sourceElement
protected java.lang.String method
New Constructors:
protected WebRequest(com.meterware.httpunit.WebResponse, org.w3c.dom.Element, java.net.URL, java.lang.String, java.lang.String)
New Methods:
com.meterware.httpunit.scripting.ScriptingHandler getSourceScriptingHandler()
public void setParameter(java.lang.String, com.meterware.httpunit.protocol.UploadFileSpec[])
com.meterware.httpunit.WebRequest$1
Declaration Changes:
old:class com.meterware.httpunit.WebRequest$1 extends java.lang.Object implements com.meterware.httpunit.ParameterProcessor
new:class com.meterware.httpunit.WebRequest$1 extends java.lang.Object implements com.meterware.httpunit.protocol.ParameterProcessorRemoved Methods:
public void addFile(java.lang.String, com.meterware.httpunit.UploadFileSpec) throws java.io.IOException
New Methods:
public void addFile(java.lang.String, com.meterware.httpunit.protocol.UploadFileSpec) throws java.io.IOException
com.meterware.httpunit.WebRequestSource
Removed Fields:
private java.lang.String _destination
Method Changes:
old:protected org.w3c.dom.Node getNode()
new:public org.w3c.dom.Node getNode()New Fields:
private java.lang.String _destinationAttribute
private com.meterware.httpunit.scripting.ScriptingHandler _scriptable
New Methods:
public boolean doEvent(java.lang.String)[deprecated]
public boolean doEventScript(java.lang.String)
protected org.w3c.dom.Element getElement()
public com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
public com.meterware.httpunit.scripting.ScriptingHandler getScriptingHandler()
public boolean handleEvent(java.lang.String)
public void removeAttribute(java.lang.String)
public void setAttribute(java.lang.String, java.lang.Object)
com.meterware.httpunit.WebResponse
Declaration Changes:
old:public abstract class com.meterware.httpunit.WebResponse extends java.lang.Object implements com.meterware.httpunit.HTMLSegment, com.meterware.httpunit.cookies.CookieSource
new:public abstract class com.meterware.httpunit.WebResponse extends java.lang.Object implements com.meterware.httpunit.HTMLSegment, com.meterware.httpunit.cookies.CookieSource, com.meterware.httpunit.dom.DomWindowProxyRemoved Fields:
private boolean _hasSubframes
private com.meterware.httpunit.WebResponse$Scriptable _scriptable
Method Changes:
old:static com.meterware.httpunit.FrameSelector access$100(com.meterware.httpunit.WebResponse)
new:static com.meterware.httpunit.WebWindow access$100(com.meterware.httpunit.WebResponse)
old:static com.meterware.httpunit.WebWindow access$200(com.meterware.httpunit.WebResponse)
new:static com.meterware.httpunit.FrameSelector access$200(com.meterware.httpunit.WebResponse)
old:static final com.meterware.httpunit.WebResponse createBlankResponse()
new:static com.meterware.httpunit.WebResponse createBlankResponse()
old:boolean replaceText(java.lang.String, java.lang.String)
new:public boolean replaceText(java.lang.String, java.lang.String)New Fields:
private static final java.lang.String XML_CONTENT
private com.meterware.httpunit.scripting.ScriptingHandler _scriptingHandler
private static java.lang.String[] validContentTypes
New Methods:
public void alert(java.lang.String)
public void close()
public boolean confirm(java.lang.String)
public com.meterware.httpunit.scripting.ScriptingHandler createDomScriptingHandler()
public com.meterware.httpunit.scripting.ScriptingHandler createJavascriptScriptingHandler()
java.lang.String getBaseTarget()
public com.meterware.httpunit.WebClient getClient()
com.meterware.httpunit.HTMLPage$Scriptable getDocumentScriptable()
public com.meterware.httpunit.HTMLElement[] getElementsByTagName(java.lang.String) throws org.xml.sax.SAXException
public com.meterware.httpunit.scripting.ScriptingHandler getScriptingHandler()
public static java.lang.String[] getValidContentTypes()
private static boolean isSupportedCharacterSet(java.lang.String)
public com.meterware.httpunit.dom.DomWindowProxy openNewWindow(java.lang.String, java.lang.String) throws java.io.IOException, org.xml.sax.SAXException
public java.lang.String prompt(java.lang.String, java.lang.String)
public void setScriptingHandler(com.meterware.httpunit.scripting.ScriptingHandler)
protected static void setValidContentTypes(java.lang.String[])
public com.meterware.httpunit.dom.DomWindowProxy submitRequest(com.meterware.httpunit.dom.HTMLElementImpl, java.lang.String, java.lang.String, java.lang.String, com.meterware.httpunit.protocol.MessageBody) throws java.io.IOException, org.xml.sax.SAXException
com.meterware.httpunit.WebResponse$ByteTag
Removed Fields:
private int _start
com.meterware.httpunit.WebResponse$ByteTagParser
Removed Fields:
private int _start
com.meterware.httpunit.WebResponse$Scriptable
Removed Methods:
public void alert(java.lang.String)
public void close()
New Methods:
public void alertUser(java.lang.String)
public void closeWindow()
com.meterware.httpunit.WebTable
Removed Methods:
com.meterware.httpunit.TableCell newTableCell(org.w3c.dom.Element)
com.meterware.httpunit.TableRow newTableRow(org.w3c.dom.Element)
Method Changes:
old:protected com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
new:public com.meterware.httpunit.scripting.ScriptableDelegate getParentDelegate()
old:protected com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()
new:public com.meterware.httpunit.scripting.ScriptableDelegate newScriptable()New Methods:
com.meterware.httpunit.TableCell newTableCell(org.w3c.dom.html.HTMLTableCellElement)
com.meterware.httpunit.TableRow newTableRow(org.w3c.dom.html.HTMLTableRowElement)
com.meterware.httpunit.WebWindow
Method Changes:
old:public com.meterware.httpunit.WebResponse getResponse(com.meterware.httpunit.WebRequest) throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException
new:public com.meterware.httpunit.WebResponse getResponse(com.meterware.httpunit.WebRequest) throws java.io.IOException, org.xml.sax.SAXException
old:public com.meterware.httpunit.WebResponse getResponse(java.lang.String) throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException
new:public com.meterware.httpunit.WebResponse getResponse(java.lang.String) throws java.io.IOException, org.xml.sax.SAXException
old:public com.meterware.httpunit.WebResponse sendRequest(com.meterware.httpunit.WebRequest) throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException
new:public com.meterware.httpunit.WebResponse sendRequest(com.meterware.httpunit.WebRequest) throws java.io.IOException, org.xml.sax.SAXException
old:com.meterware.httpunit.WebResponse updateWindow(java.lang.String, com.meterware.httpunit.WebResponse, com.meterware.httpunit.RequestContext) throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException
new:com.meterware.httpunit.WebResponse updateWindow(java.lang.String, com.meterware.httpunit.WebResponse, com.meterware.httpunit.RequestContext) throws java.io.IOException, org.xml.sax.SAXExceptionNew Fields:
private com.meterware.httpunit.WebRequest _initialRequest
private boolean _isInitialRequest
private final java.util.Set _redirects
New Methods:
private boolean redirectConfigured(com.meterware.httpunit.WebResponse)
com.meterware.httpunit.cookies.Cookie
Method Changes:
old:boolean mayBeSentTo(java.net.URL)
new:public boolean mayBeSentTo(java.net.URL)New Fields:
private static final java.text.DateFormat originalCookieFormat
New Constructors:
Cookie(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
New Methods:
private long getAgeInMsecFromDate(java.lang.String)
public long getExpiredTime()
public boolean isExpired()
public void setValue(java.lang.String)
static {}
com.meterware.httpunit.cookies.CookieJar
New Methods:
public void putSingleUseCookie(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
com.meterware.httpunit.javascript.JavaScript
Removed Fields:
private static final java.lang.Object[] NO_ARGS
private static java.util.ArrayList _errorMessages
Removed Methods:
static java.lang.Object[] access$000()
static java.util.ArrayList access$100()
static void clearErrorMessages()
static java.lang.String[] getErrorMessages()
Method Changes:
old:static boolean isThrowExceptionsOnError()
new:public static boolean isThrowExceptionsOnError()
old:static void run(com.meterware.httpunit.WebResponse) throws java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.reflect.InvocationTargetException, org.mozilla.javascript.ClassDefinitionException, org.mozilla.javascript.NotAFunctionException, org.mozilla.javascript.PropertyException, org.xml.sax.SAXException, org.mozilla.javascript.JavaScriptException
new:public static void run(com.meterware.httpunit.WebResponse) throws java.lang.IllegalAccessException, java.lang.InstantiationException, java.lang.reflect.InvocationTargetException, org.mozilla.javascript.ClassDefinitionException, org.mozilla.javascript.NotAFunctionException, org.mozilla.javascript.PropertyException, org.xml.sax.SAXException, org.mozilla.javascript.JavaScriptException
old:static void setThrowExceptionsOnError(boolean)
new:public static void setThrowExceptionsOnError(boolean)
com.meterware.httpunit.javascript.JavaScript$Control
New Methods:
public java.lang.Object jsFunction_getAttribute(java.lang.String) throws org.mozilla.javascript.JavaScriptException
public void jsFunction_onchange() throws org.mozilla.javascript.JavaScriptException
public void jsFunction_removeAttribute(java.lang.String) throws org.mozilla.javascript.JavaScriptException
public void jsFunction_setAttribute(java.lang.String, java.lang.Object) throws org.mozilla.javascript.JavaScriptException
com.meterware.httpunit.javascript.JavaScript$Form
New Methods:
public java.lang.String jsGet_name()
com.meterware.httpunit.javascript.JavaScript$HTMLElement
New Methods:
public java.lang.Object jsFunction_getAttribute(java.lang.String)
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine
Declaration Changes:
old:abstract class com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine extends org.mozilla.javascript.ScriptableObject implements com.meterware.httpunit.scripting.ScriptingEngine
new:abstract class com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine extends com.meterware.httpunit.javascript.ScriptingEngineImplRemoved Methods:
protected void discardDocumentWriteBuffer()
public java.lang.String evaluateScriptExpression(java.lang.String)
public java.lang.String executeScript(java.lang.String, java.lang.String)
protected java.lang.StringBuffer getDocumentWriteBuffer()
private void handleScriptException(java.lang.Exception, java.lang.String)
private boolean isLineTerminator(char)
public boolean performEvent(java.lang.String)
public boolean supportsScriptLanguage(java.lang.String)
protected com.meterware.httpunit.javascript.JavaScript$ElementArray toElementArray(com.meterware.httpunit.scripting.ScriptableDelegate[])
private java.lang.String withoutFirstLine(java.lang.String)
New Methods:
public boolean handleEvent(java.lang.String)
protected com.meterware.httpunit.javascript.JavaScript$ElementArray toElementArray(com.meterware.httpunit.scripting.ScriptingHandler[])
com.meterware.httpunit.javascript.JavaScript$Window
Method Changes:
old:protected java.lang.StringBuffer getDocumentWriteBuffer()
new:protected java.lang.String getDocumentWriteBuffer()
com.meterware.httpunit.javascript.JavaScriptEngineFactory
New Methods:
public com.meterware.httpunit.scripting.ScriptingHandler createHandler(com.meterware.httpunit.HTMLElement)
public com.meterware.httpunit.scripting.ScriptingHandler createHandler(com.meterware.httpunit.WebResponse)
com.meterware.httpunit.parsing.HTMLParserFactory
New Fields:
private static boolean _forceLower
private static boolean _forceUpper
New Methods:
public static boolean getForceLowerCase()
public static boolean getForceUpperCase()
public static void setForceLowerCase(boolean)
public static void setForceUpperCase(boolean)
com.meterware.httpunit.parsing.JTidyHTMLParser
New Methods:
public boolean supportsForceTagCase()
com.meterware.httpunit.parsing.NekoDOMParser
Declaration Changes:
old:class com.meterware.httpunit.parsing.NekoDOMParser extends org.apache.xerces.parsers.DOMParser
new:class com.meterware.httpunit.parsing.NekoDOMParser extends org.apache.xerces.parsers.DOMParser implements com.meterware.httpunit.parsing.ScriptHandlerRemoved Fields:
private static final java.lang.String HTML_DOCUMENT_CLASS_NAME
private org.w3c.dom.Node _documentNode
Removed Methods:
private org.w3c.dom.Node getCurrentElementNode()
com.meterware.httpunit.scripting.ScriptableDelegate getScriptableDelegate()
Method Changes:
old:java.lang.String getIncludedScript(java.lang.String)
new:public java.lang.String getIncludedScript(java.lang.String)New Fields:
static java.lang.Class class$com$meterware$httpunit$dom$HTMLDocumentImpl
New Methods:
static java.lang.Class class$(java.lang.String)
private org.w3c.dom.Element getCurrentElement()
private com.meterware.httpunit.scripting.ScriptingHandler getScriptingHandler()
public java.lang.String runScript(java.lang.String, java.lang.String)
public boolean supportsScriptLanguage(java.lang.String)
com.meterware.httpunit.parsing.NekoHTMLParser
New Methods:
public boolean supportsForceTagCase()
com.meterware.httpunit.parsing.ScriptFilter
Removed Fields:
private com.meterware.httpunit.parsing.NekoDOMParser _domParser
Removed Methods:
public void setParser(com.meterware.httpunit.parsing.NekoDOMParser)
New Fields:
private com.meterware.httpunit.parsing.ScriptHandler _scriptHandler
New Methods:
public void setScriptHandler(com.meterware.httpunit.parsing.ScriptHandler)
com.meterware.httpunit.scripting.ScriptableDelegate
Declaration Changes:
old:public abstract class com.meterware.httpunit.scripting.ScriptableDelegate extends java.lang.Object
new:public abstract class com.meterware.httpunit.scripting.ScriptableDelegate extends java.lang.Object implements com.meterware.httpunit.scripting.ScriptingHandlerRemoved Methods:
public boolean supportsScript(java.lang.String)
Newly Deprecated Methods:
public boolean doEvent(java.lang.String)
Field Declaration Changes:
old:private static final com.meterware.httpunit.scripting.ScriptingEngine NULL_SCRIPT_ENGINE
new:public static final com.meterware.httpunit.scripting.ScriptingEngine NULL_SCRIPT_ENGINEMethod Changes:
old:public java.lang.String evaluateExpression(java.lang.String)
new:public java.lang.Object evaluateExpression(java.lang.String)New Methods:
public void clearCaches()
public boolean doEventScript(java.lang.String)
public boolean handleEvent(java.lang.String)
public boolean supportsScriptLanguage(java.lang.String)
com.meterware.httpunit.scripting.ScriptableDelegate$1
Removed Methods:
public java.lang.String evaluateScriptExpression(java.lang.String)
public java.lang.String executeScript(java.lang.String, java.lang.String)
public boolean performEvent(java.lang.String)
New Methods:
public boolean doEvent(java.lang.String)
public boolean doEventScript(java.lang.String)
public java.lang.Object evaluateExpression(java.lang.String)
public boolean handleEvent(java.lang.String)
public java.lang.String runScript(java.lang.String, java.lang.String)
com.meterware.pseudoserver.HttpUserAgentTest
New Methods:
protected void defineWebPage(java.lang.String, java.lang.String, java.lang.String)
com.meterware.pseudoserver.PseudoServer
Removed Methods:
static void access$400(com.meterware.pseudoserver.PseudoServer, java.net.Socket) throws java.io.IOException
New Methods:
static void access$400(com.meterware.pseudoserver.PseudoServer, java.lang.String)
static void access$500(com.meterware.pseudoserver.PseudoServer, java.net.Socket) throws java.io.IOException
private void debug(java.lang.String)
private static java.lang.String replaceDebugToken(java.lang.String, java.lang.String, java.lang.String)
com.meterware.pseudoserver.ReceivedHttpMessage
Removed Fields:
private java.lang.String _messageHeader
com.meterware.pseudoserver.WebResource
New Methods:
public void suppressAutomaticContentTypeHeader()
com.meterware.servletunit.ServletRunner
New Constructors:
public ServletRunner(java.lang.String, org.xml.sax.EntityResolver) throws java.io.IOException, org.xml.sax.SAXException
New Methods:
public void setContextParameter(java.lang.String, java.lang.Object)[deprecated]
com.meterware.servletunit.ServletUnitClient
New Methods:
public void setProxyServer(java.lang.String, int)
com.meterware.servletunit.ServletUnitHttpRequest
New Fields:
private boolean _gotInputStream
private boolean _gotReader
private java.lang.String _protocol
private java.io.BufferedReader _reader
New Methods:
private void initializeInputStream()
com.meterware.servletunit.ServletUnitServletContext
Declaration Changes:
old:class com.meterware.servletunit.ServletUnitServletContext extends java.lang.Object implements javax.servlet.ServletContext
new:public class com.meterware.servletunit.ServletUnitServletContext extends java.lang.Object implements javax.servlet.ServletContextNew Fields:
public static final java.lang.String DEFAULT_SERVER_INFO
private java.io.PrintStream _logStream
New Methods:
public java.lang.String getContextPath()
public void setLogStream(java.io.PrintStream)
com.meterware.httpunit.controls
com.meterware.httpunit.dom
com.meterware.httpunit.protocol
com.meterware.httpunit.AuthenticationChallenge$AuthenticationStrategy
com.meterware.httpunit.parsing.ScriptHandler
com.meterware.httpunit.scripting.FormScriptable
com.meterware.httpunit.scripting.ScriptingEventHandler
com.meterware.httpunit.scripting.ScriptingHandler
com.meterware.httpunit.AuthenticationChallenge
com.meterware.httpunit.AuthenticationChallenge$1
com.meterware.httpunit.AuthenticationChallenge$BasicAuthenticationStrategy
com.meterware.httpunit.AuthenticationChallenge$DigestAuthenticationStrategy
com.meterware.httpunit.AuthenticationChallenge$DigestAuthenticationStrategy$Algorithm
com.meterware.httpunit.AuthenticationChallenge$DigestAuthenticationStrategy$QopAlgorithm
com.meterware.httpunit.Button$DisabledButtonException
com.meterware.httpunit.ElementRegistry
com.meterware.httpunit.HttpHeader
com.meterware.httpunit.RecursiveRedirectionException
com.meterware.httpunit.SubmitButton$DisabledSubmitButtonException
com.meterware.httpunit.WebForm$InvalidFileParameterException
com.meterware.httpunit.javascript.ScriptingEngineImpl