com.reuters.msgtest.fixture
Class Responses
java.lang.Object
com.reuters.msgtest.fixture.Responses
- public class Responses
- extends java.lang.Object
- Author:
- Michael Ward
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Responses
public Responses(RvTestConfiguration rvTestConfiguration)
addResponse
public void addResponse(Response response)
- Add a
Respnse to the collection. Will create from a URI if
applicable
- Parameters:
response - a Response value
getResponse
public Response getResponse(int i)
- Return a
Response from the collection.
- Parameters:
i - an int value
- Returns:
- a
Response value
getResponse
public Response getResponse(java.lang.String name)
throws RvTestException
- Return a
Response from the collection with a given name.
It return the first match if successful and null if no match was found.
- Parameters:
name - The name of a Response to retrieve.
- Throws:
RvTestException - If the response is not found
iterator
public java.util.Iterator iterator()
size
public int size()
addAll
public void addAll(java.util.Collection c)
Copyright © 2002-2004 The RVTest Team. All Rights Reserved.