marg.test.mockserver
Class MockServerWheels

java.lang.Object
  extended by marg.test.mockserver.MockServerWheels
All Implemented Interfaces:
java.lang.Runnable

public class MockServerWheels
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
MockServerWheels(int port)
           
 
Method Summary
 void copyContents(java.io.InputStream from, java.io.OutputStream to)
           
 java.lang.String getLastReceivedCmd()
           
static void main(java.lang.String[] args)
           
 void run()
           
 void sendFileContents(java.io.File file, java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockServerWheels

public MockServerWheels(int port)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

getLastReceivedCmd

public java.lang.String getLastReceivedCmd()

main

public static void main(java.lang.String[] args)

sendFileContents

public void sendFileContents(java.io.File file,
                             java.io.OutputStream out)

copyContents

public void copyContents(java.io.InputStream from,
                         java.io.OutputStream to)