org.fusesource.scalate.guice

ScalateModule

class ScalateModule extends ServletModule

A default Guice com.google.inject.servlet.ServletModule which registers Jersey and the Scalate servlets

Version

$Revision : 1.1 $

Linear Supertypes
ServletModule, AbstractModule, Module, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalateModule
  2. ServletModule
  3. AbstractModule
  4. Module
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalateModule()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addError(arg0: Message): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  7. def addError(arg0: Throwable): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  8. def addError(arg0: String, arg1: <repeated...>[AnyRef]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  9. def applyJerseyFilter: Unit

    Registers the Jersey filter

    Registers the Jersey filter

    Attributes
    protected
  10. def applyScalateServlets: Unit

    Registers the Scalate servlets

    Registers the Scalate servlets

    Attributes
    protected
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def bind[T](arg0: Class[T]): AnnotatedBindingBuilder[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  13. def bind[T](arg0: TypeLiteral[T]): AnnotatedBindingBuilder[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  14. def bind[T](arg0: Key[T]): LinkedBindingBuilder[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  15. def bindConstant(): AnnotatedConstantBindingBuilder

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  16. def bindInterceptor(arg0: Matcher[_ >: Class[_]], arg1: Matcher[_ >: Method], arg2: <repeated...>[MethodInterceptor]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  17. def bindListener(arg0: Matcher[_ >: TypeLiteral[_]], arg1: TypeListener): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  18. def bindScope(arg0: Class[_ <: Annotation], arg1: Scope): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  19. def binder(): Binder

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  20. implicit def builderToRichBuilder(builder: ServletKeyBindingBuilder): RichBuilder

    The implicit type conversion to avoid the 'with' method in the DSL

  21. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def configure(): Unit

    Attributes
    protected[com.google.inject.servlet]
    Definition Classes
    ServletModule → AbstractModule
  23. final def configure(arg0: Binder): Unit

    Definition Classes
    AbstractModule → Module
  24. def configureServlets(): Unit

    Configure any servlets or filters for the application

    Configure any servlets or filters for the application

    Definition Classes
    ScalateModule → ServletModule
  25. def convertToTypes(arg0: Matcher[_ >: TypeLiteral[_]], arg1: TypeConverter): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  26. def createGuiceContainer(injector: Injector): GuiceContainer

    Creates the com.sun.jersey.guice.spi.container.servlet.GuiceContainer to configure Jersey

    Creates the com.sun.jersey.guice.spi.container.servlet.GuiceContainer to configure Jersey

    Annotations
    @Provides() @Singleton()
  27. def createResourceConfig: ResourceConfig

    Creates the resource configuration for the Jersey com.sun.jersey.guice.spi.container.servlet.GuiceContainer

    Creates the resource configuration for the Jersey com.sun.jersey.guice.spi.container.servlet.GuiceContainer

    Annotations
    @Provides() @Singleton()
  28. def createResourceConfigProperties: Map[String, AnyRef]

    Creates the properties used to configure the com.sun.jersey.guice.spi.container.servlet.GuiceContainer's resource config in #createResourceConfig for Jersey

    Creates the properties used to configure the com.sun.jersey.guice.spi.container.servlet.GuiceContainer's resource config in #createResourceConfig for Jersey

    Annotations
    @Provides() @Singleton()
  29. def currentStage(): Stage

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  30. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  32. def fileExtensionsExcludedFromJersey: List[String]

    Returns the list of file types which should be excluded from the Jersey filter (until we can get the FilterForwardOn404 setting working) so that they are rendered correctly using the servlet engine

    Returns the list of file types which should be excluded from the Jersey filter (until we can get the FilterForwardOn404 setting working) so that they are rendered correctly using the servlet engine

    Attributes
    protected
  33. final def filter(arg0: String, arg1: <repeated...>[String]): FilterKeyBindingBuilder

    Attributes
    protected[com.google.inject.servlet]
    Definition Classes
    ServletModule
  34. final def filterRegex(arg0: String, arg1: <repeated...>[String]): FilterKeyBindingBuilder

    Attributes
    protected[com.google.inject.servlet]
    Definition Classes
    ServletModule
  35. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  37. def getMembersInjector[T](arg0: TypeLiteral[T]): MembersInjector[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  38. def getMembersInjector[T](arg0: Class[T]): MembersInjector[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  39. def getProvider[T](arg0: Class[T]): Provider[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  40. def getProvider[T](arg0: Key[T]): Provider[T]

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  41. final def getServletContext(): ServletContext

    Attributes
    protected[com.google.inject.servlet]
    Definition Classes
    ServletModule
  42. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  43. def install(arg0: Module): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  44. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  45. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  46. final def notify(): Unit

    Definition Classes
    AnyRef
  47. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  48. def requestInjection(arg0: Any): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  49. def requestStaticInjection(arg0: <repeated...>[Class[_]]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  50. def requireBinding(arg0: Class[_]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  51. def requireBinding(arg0: Key[_]): Unit

    Attributes
    protected[com.google.inject]
    Definition Classes
    AbstractModule
  52. def resourcePackageNames: List[String]

    Returns a list of package names which are recursively scanned looking for JAXRS resource classes

  53. var scalateServletUris: List[String]

  54. final def serve(arg0: String, arg1: <repeated...>[String]): ServletKeyBindingBuilder

    Attributes
    protected[com.google.inject.servlet]
    Definition Classes
    ServletModule
  55. final def serveRegex(arg0: String, arg1: <repeated...>[String]): ServletKeyBindingBuilder

    Attributes
    protected[com.google.inject.servlet]
    Definition Classes
    ServletModule
  56. def serveWith[T <: HttpServlet](urlPattern: String, aClass: Class[T]): Unit

    A helper method to avoid this compiler bug when using with or the RichBuilder (which uses with) inside a loop

    A helper method to avoid this compiler bug when using with or the RichBuilder (which uses with) inside a loop

    Attributes
    protected
  57. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  58. def templateExtensions: List[String]

    Returns the default list of template extensions which are rendered directly with Scalate rather than going through the Jersey filter

    Returns the default list of template extensions which are rendered directly with Scalate rather than going through the Jersey filter

    Attributes
    protected
  59. def toString(): String

    Definition Classes
    AnyRef → Any
  60. var useJerseyUriRegex: Boolean

  61. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. def webPageContentRegex: List[String]

    The regular expression to find web content which should not be processed by the Jersey filter.

    The regular expression to find web content which should not be processed by the Jersey filter. This is only required until we can get the FilterForwardOn404 issue resolved. See: https://jersey.dev.java.net/issues/show_bug.cgi?id=485

Inherited from ServletModule

Inherited from AbstractModule

Inherited from Module

Inherited from AnyRef

Inherited from Any

Ungrouped