EmbeddedJettyContainer

org.scalatra.test.EmbeddedJettyContainer

Attributes

Graph
Supertypes
trait Container
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def baseUrl: String
def contextPath: String
def localPort: Option[Int]

The port of the currently running Jetty. May differ from port if port is 0.

The port of the currently running Jetty. May differ from port if port is 0.

Attributes

Returns

Some port if Jetty is currently listening, or None if it is not.

def port: Int

Sets the port to listen on. 0 means listen on any available port.

Sets the port to listen on. 0 means listen on any available port.

Attributes

def start(): Unit
def stop(): Unit

Inherited methods

def addFilter(filter: Class[_ <: Filter], path: String, dispatches: EnumSet[DispatcherType]): FilterHolder

Attributes

Inherited from:
JettyContainer
def addFilter(filter: Class[_ <: Filter], path: String): FilterHolder

Attributes

Inherited from:
JettyContainer
def addFilter(filter: Filter, path: String, dispatches: EnumSet[DispatcherType]): FilterHolder

Attributes

Inherited from:
JettyContainer
def addServlet(servlet: Class[_ <: HttpServlet], path: String): ServletHolder

Attributes

Inherited from:
JettyContainer
def addServlet(servlet: HttpServlet, path: String, name: String): Unit

Attributes

Inherited from:
JettyContainer
def addServlet(servlet: HttpServlet, path: String): Unit

Attributes

Inherited from:
JettyContainer
def mount(app: Filter, path: String, dispatches: EnumSet[DispatcherType]): FilterHolder

Attributes

Inherited from:
JettyContainer
def mount(servlet: HttpServlet, path: String, name: String): Unit

Attributes

Inherited from:
JettyContainer
def mount(servlet: HttpServlet, path: String): Unit

Attributes

Inherited from:
JettyContainer
def mount(klass: Class[_], path: String): Holder[_ >: Servlet & Filter <: Servlet | Filter]

Attributes

Inherited from:
JettyContainer
def skipDefaultServlet: Boolean

Attributes

Inherited from:
JettyContainer

Concrete fields

lazy val server: Server
lazy val servletContextHandler: ServletContextHandler

Inherited fields

var resourceBasePath: String

Attributes

Inherited from:
Container