org.apache.maven.wagon.tck.http.fixture
Class ServerFixture
java.lang.Object
org.apache.maven.wagon.tck.http.fixture.ServerFixture
public class ServerFixture
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVER_ROOT_RESOURCE_PATH
public static final String SERVER_ROOT_RESOURCE_PATH
- See Also:
- Constant Field Values
SERVER_SSL_KEYSTORE_RESOURCE_PATH
public static final String SERVER_SSL_KEYSTORE_RESOURCE_PATH
- See Also:
- Constant Field Values
SERVER_SSL_KEYSTORE_PASSWORD
public static final String SERVER_SSL_KEYSTORE_PASSWORD
- See Also:
- Constant Field Values
SERVER_HOST
public static final String SERVER_HOST
- See Also:
- Constant Field Values
ServerFixture
public ServerFixture(boolean ssl)
throws URISyntaxException,
IOException
- Throws:
URISyntaxException
IOException
addFilter
public void addFilter(String pathSpec,
Filter filter)
addServlet
public void addServlet(String pathSpec,
Servlet servlet)
addUser
public void addUser(String user,
String password)
getServer
public org.mortbay.jetty.Server getServer()
getWebappContext
public org.mortbay.jetty.webapp.WebAppContext getWebappContext()
stop
public void stop()
throws Exception
- Throws:
Exception
start
public void start()
throws Exception
- Throws:
Exception
getHttpPort
public int getHttpPort()
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.