Skip navigation links
A B C F G H J L M P R S T V W X Y 

A

add(WSSimulation) - Method in class wssimulator.WSSimulatorServiceManager
Adds and starts a web service simulator simulation
addSimulation(String) - Static method in class wssimulator.WSSimulator
Apply a simulation to be emulated
addSimulation(WSSimulation) - Static method in class wssimulator.WSSimulator
Apply a simulation to be emulated
addSimulation(File) - Static method in class wssimulator.WSSimulator
Adds a simulation from a YAML file
addSimulationOnClasspath(String) - Static method in class wssimulator.WSSimulator
Apply a simulation to be emulated
addSimulations(Collection<File>) - Static method in class wssimulator.WSSimulator
adds a collection of simulations to the simulator.

B

badRequestResponseCode - Variable in class wssimulator.WSSimulation
sets the response code when the data is not valid;
BaseHandler - Class in wssimulator.handler
Base handler for handling http requests to the server.
BaseHandler(WSSimulation) - Constructor for class wssimulator.handler.BaseHandler
 
Bootstrap - Class in wssimulator
Main class for launching wssimulator in standalone mode.
Bootstrap() - Constructor for class wssimulator.Bootstrap
 

C

callCount - Variable in class wssimulator.WSSimulationContext
Holds the call count for this simulation
calledCount(int) - Static method in class wssimulator.WSSimulator
Holds the times a simulation has been called.
calledCounter(int) - Method in class wssimulator.WSSimulatorServiceManager
The current call count for a simulation
consumes - Variable in class wssimulator.WSSimulation
Mediatype the service will consume.

F

findSimulationIdByPath(String) - Static method in class wssimulator.WSSimulator
Return the ID of a simulation path based on its logical path
findSimulationIdByPath(String) - Method in class wssimulator.WSSimulatorServiceManager
 

G

GenericHandler - Class in wssimulator.handler
Handles all other media types
GenericHandler(WSSimulation) - Constructor for class wssimulator.handler.GenericHandler
 
getInstance() - Static method in class wssimulator.WSSimulatorServiceManager
Returns the instance for this singleton
getRequestId() - Method in exception wssimulator.SimulationNotFoundException
 
getWSSimulation(int) - Method in class wssimulator.WSSimulatorServiceManager
returns a simulation if available (by simulation id).
getWSSimulationsKeys() - Method in class wssimulator.WSSimulatorServiceManager
 

H

handle(Request, Response) - Method in class wssimulator.WebAppController
 
HttpMethod - Enum in wssimulator
The supported HTTPMethods.
httpMethod - Variable in class wssimulator.WSSimulation
The paths corresponding httpmethod

J

JSONHandler - Class in wssimulator.handler
Handles JSON based payloads.
JSONHandler(WSSimulation) - Constructor for class wssimulator.handler.JSONHandler
 

L

loadedSimulationCount() - Static method in class wssimulator.WSSimulator
Returns the count of all simulations that are loaded within the simulator.

M

main(String[]) - Static method in class wssimulator.Bootstrap
 

P

path - Variable in class wssimulator.WSSimulation
The path of this service
processRequest(Request, Response) - Method in class wssimulator.handler.BaseHandler
 

R

requestStructure - Variable in class wssimulator.WSSimulation
Validate the structure of the request.
resilience - Variable in class wssimulator.WSSimulation
Resilience of this server (0 to 1); 1 meaning it never fails and 0 meaning it always will fail.
resilienceFailureCode - Variable in class wssimulator.WSSimulation
failure code to pass back to the client when the server fails
response - Variable in class wssimulator.WSSimulation
Default Response

S

setPort(int) - Static method in class wssimulator.WSSimulator
Sets the port to start the http server.
shutdown() - Static method in class wssimulator.WSSimulator
Shuts down the simulator
shutdown() - Method in class wssimulator.WSSimulatorServiceManager
Shuts down the simulator.
simulation() - Method in exception wssimulator.SimulationNotValidException
 
SimulationNotFoundException - Exception in wssimulator
thrown when the simulation passed in is not found
SimulationNotFoundException(int) - Constructor for exception wssimulator.SimulationNotFoundException
 
SimulationNotValidException - Exception in wssimulator
thrown when the simulation passed in cannot be parsed
SimulationNotValidException(WSSimulation) - Constructor for exception wssimulator.SimulationNotValidException
 
simulatorSimulation() - Method in class wssimulator.YamlToSimulation
 
startWebApp() - Method in class wssimulator.WebAppController
Starts the web application
successResponseCode - Variable in class wssimulator.WSSimulation
sets the successful response code to send back to the server

T

toString() - Method in class wssimulator.WSSimulation
 

V

validate(WSSimulation, String) - Method in class wssimulator.handler.BaseHandler
 
validate(WSSimulation, String) - Method in class wssimulator.handler.GenericHandler
 
validate(WSSimulation, String) - Method in class wssimulator.handler.JSONHandler
 
validate(WSSimulation, String) - Method in class wssimulator.handler.XMLHandler
 
validate(WSSimulation) - Static method in class wssimulator.WSSimulatorValidation
Validates the simulation.
validateJSON(String, String) - Static method in class wssimulator.WSSimulatorValidation
Uses JsonSchema to validate JSON against A JSON Schema File
validateXml(String, String) - Static method in class wssimulator.WSSimulatorValidation
Uses Validator to validate XML against XSD
validSimulationCount() - Method in class wssimulator.WSSimulatorServiceManager
Returns the valid simulation count.
valueOf(String) - Static method in enum wssimulator.HttpMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum wssimulator.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebAppController - Class in wssimulator
Controls the web application.
WebAppController() - Constructor for class wssimulator.WebAppController
 
WSSimulation - Class in wssimulator
Represents a full simulation for the wssimulator service
WSSimulation() - Constructor for class wssimulator.WSSimulation
 
wsSimulationContext - Variable in class wssimulator.WSSimulation
Context object for this simulation
WSSimulationContext - Class in wssimulator
 
WSSimulationContext() - Constructor for class wssimulator.WSSimulationContext
 
wssimulator - package wssimulator
 
WSSimulator - Class in wssimulator
Base simulator for web services.
WSSimulator() - Constructor for class wssimulator.WSSimulator
 
wssimulator.handler - package wssimulator.handler
 
WSSimulatorServiceManager - Class in wssimulator
Manages the service raise
WSSimulatorValidation - Class in wssimulator
Utility class to validate datasets within WSSimulator
WSSimulatorValidation() - Constructor for class wssimulator.WSSimulatorValidation
 

X

XMLHandler - Class in wssimulator.handler
Handles XML based payloads.
XMLHandler(WSSimulation) - Constructor for class wssimulator.handler.XMLHandler
 

Y

YamlNotValidException - Exception in wssimulator
Thrown when the YAML is not well formed or missing.
YamlNotValidException(String) - Constructor for exception wssimulator.YamlNotValidException
 
YamlToSimulation - Class in wssimulator
Converts valid YAML to a simulation.
YamlToSimulation(File) - Constructor for class wssimulator.YamlToSimulation
 
YamlToSimulation(String) - Constructor for class wssimulator.YamlToSimulation
 
A B C F G H J L M P R S T V W X Y 
Skip navigation links