| com.xoetrope.service.servlet.XServiceServlet com.xoetrope.service.servlet.XUnreliableServiceServlet
XUnreliableServiceServlet | public class XUnreliableServiceServlet extends XServiceServlet (Code) | | Extends XServiceServlet by adding a reliability parameter that can be used to
control how the response is returned. This parameter is defined by a number
of constants and set with the setRiability method. The service is intended to
simulate the breakdown in communication services so that yo can test the
resiliance of your application. Normally the class would not appear in
anything other than a stress test environment.
Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
$Revision: 1.5 $
|
CORRUPT_RESPONSE | final public static int CORRUPT_RESPONSE(Code) | | The returned values are corrupt.
|
ERROR_RESPONSE | final public static int ERROR_RESPONSE(Code) | | An http error is returned as part of the response
|
EXTRA_RESPONSE | final public static int EXTRA_RESPONSE(Code) | | Additional bytes are appended to an otherwise correct response
|
FOURTH_RESPONSE | final public static int FOURTH_RESPONSE(Code) | | The request is only processed on every fourth attempt
|
NO_RESPONSE | final public static int NO_RESPONSE(Code) | | No response is made and the request returns immediately
|
PARTIAL_RESPONSE | final public static int PARTIAL_RESPONSE(Code) | | An incomplete response is returned to the client. The response will be
truncated by approximately 50 percent.
|
RELIABLE | final public static int RELIABLE(Code) | | A proper response is returned to the client as soon as is possible.
|
TIME_OUT | final public static int TIME_OUT(Code) | | No response is made and nothing is returned to the client
|
XUnreliableServiceServlet | public XUnreliableServiceServlet()(Code) | | Construct a new servlet with the default options
|
|
|