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 |
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()
setFactories
public void setFactories(List<org.everrest.core.ObjectFactory<org.everrest.core.resource.AbstractResourceDescriptor>> factories)
getResourceLauncher
public org.everrest.core.tools.ResourceLauncher getResourceLauncher()
stop
public void stop()
isStopped
public boolean isStopped()
isRunning
public boolean isRunning()
isStarted
public boolean isStarted()
getContextPath
protected String getContextPath()
setContextAttributes
protected void setContextAttributes(org.eclipse.jetty.servlet.ServletContextHandler context)
getEventListeners
protected EventListener[] getEventListeners()
getSecurityHandler
protected org.eclipse.jetty.security.SecurityHandler getSecurityHandler()
getSecureRestPath
protected String getSecureRestPath()
getRestUri
public String getRestUri(boolean secure)
getRestUri
public String getRestUri()
initParams
protected void initParams(Map<String,String> params)
getUnsecureEnvironment
public org.everrest.core.impl.EnvironmentContext getUnsecureEnvironment()
getSecureEnvironment
public org.everrest.core.impl.EnvironmentContext getSecureEnvironment()
Copyright © 2012. All Rights Reserved.