org.eclipse.jetty.toolchain.test
Class SimpleRequest
java.lang.Object
org.eclipse.jetty.toolchain.test.SimpleRequest
public class SimpleRequest
- extends Object
A super simple http request mechanism for simple testing purposes.
It is not meant to be robust or even configurable.
Do not use this for large responses, as the entire response body is always assumed to fit in a single String
object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleRequest
public SimpleRequest(URI serverURI)
throws UnknownHostException
- Throws:
UnknownHostException
getString
public String getString(String relativePath)
throws IOException
- Throws:
IOException
getProperties
public Properties getProperties(String relativePath)
throws IOException
- Throws:
IOException
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.