org.everrest.assured
Class JettyHttpServer
java.lang.Object
org.everrest.assured.JettyHttpServer
public class JettyHttpServer
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNSECURE_REST
public static final String UNSECURE_REST
- See Also:
- Constant Field Values
UNSECURE_PATH_SPEC
public static final String UNSECURE_PATH_SPEC
- See Also:
- Constant Field Values
SECURE_PATH
public static final String SECURE_PATH
- See Also:
- Constant Field Values
SECURE_REST
public static final String SECURE_REST
- See Also:
- Constant Field Values
SECURE_PATH_SPEC
public static final String SECURE_PATH_SPEC
- See Also:
- Constant Field Values
context
protected org.eclipse.jetty.servlet.ServletContextHandler context
port
protected final int port
server
protected final org.eclipse.jetty.server.Server server
ADMIN_USER_NAME
public static final String ADMIN_USER_NAME
- See Also:
- Constant Field Values
ADMIN_USER_PASSWORD
public static final String ADMIN_USER_PASSWORD
- See Also:
- Constant Field Values
MANAGER_USER_NAME
public static final String MANAGER_USER_NAME
- See Also:
- Constant Field Values
MANAGER_USER_PASSWORD
public static final String MANAGER_USER_PASSWORD
- See Also:
- Constant Field Values
UNAUTHORIZED_USER
public static final String UNAUTHORIZED_USER
- See Also:
- Constant Field Values
JettyHttpServer
public JettyHttpServer()
JettyHttpServer
public JettyHttpServer(int port)
getPort
public int getPort()
start
public void start()
throws Exception
- Throws:
Exception
stop
public void stop()
throws Exception
- Throws:
Exception
setFactories
public void setFactories(List<org.everrest.core.ObjectFactory<org.everrest.core.resource.AbstractResourceDescriptor>> factories)
publishPerRequestGroovyScript
public void publishPerRequestGroovyScript(String resourcePath,
String name)
getContext
public org.eclipse.jetty.servlet.ServletContextHandler getContext()
- Returns:
- the context
resetFactories
public void resetFactories()
getResourceLauncher
public org.everrest.core.tools.ResourceLauncher getResourceLauncher()
Copyright © 2012. All Rights Reserved.