org.inria.ns.reflex.util.wunit
Class SwitchConnexion

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.HttpWebConnection
      extended by org.inria.ns.reflex.util.wunit.SwitchConnexion
All Implemented Interfaces:
WebConnection

public class SwitchConnexion
extends HttpWebConnection

A connexion that either perform an HTTP connexion or forward I/O to the server emulator according to the target host.

Author:
Philippe Poulard

Constructor Summary
SwitchConnexion(ServerEmulator serverEmulator, IntrusiveXClient client)
          Create a switch connexion.
 
Method Summary
 
Methods inherited from class com.gargoylesoftware.htmlunit.HttpWebConnection
getResponse, getVirtualHost, setVirtualHost
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwitchConnexion

public SwitchConnexion(ServerEmulator serverEmulator,
                       IntrusiveXClient client)
Create a switch connexion.

Parameters:
serverEmulator - The server emulator.
client - The client.