public class SampleServer extends Dispatcher
| Constructor and Description |
|---|
SampleServer(SSLContext sslContext,
String root,
int port) |
| Modifier and Type | Method and Description |
|---|---|
MockResponse |
dispatch(RecordedRequest request) |
static void |
main(String[] args) |
void |
run() |
peek, peekSocketPolicypublic SampleServer(SSLContext sslContext, String root, int port)
public void run()
throws IOException
IOExceptionpublic MockResponse dispatch(RecordedRequest request)
dispatch in class DispatcherCopyright © 2014. All Rights Reserved.