Class

com.mohiva.play.compressor

CompressorFilter

Related Doc: package compressor

Permalink

abstract class CompressorFilter[C <: Compressor] extends Filter

Base implementation of a filter which makes it possible to compress either HTML or XML with the help of Google's HTML Processor.

See also

http://stackoverflow.com/questions/14154671/is-it-possible-to-prettify-scala-templates-using-play-framework-2

http://jazzy.id.au/default/2013/02/16/understanding_the_play_filter_api.html

Linear Supertypes
Filter, EssentialFilter, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CompressorFilter
  2. Filter
  3. EssentialFilter
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CompressorFilter(f: ⇒ C)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(next: (RequestHeader) ⇒ Future[Result])(rh: RequestHeader): Future[Result]

    Permalink

    Apply the filter.

    Apply the filter.

    next

    The action to filter.

    returns

    The filtered action.

    Definition Classes
    CompressorFilter → Filter
  5. def apply(next: EssentialAction): EssentialAction

    Permalink
    Definition Classes
    Filter → EssentialFilter
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. lazy val charset: String

    Permalink

    The charset used by Play.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. lazy val compressor: C

    Permalink

    The compressor instance.

  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def isCompressible(result: Result): Boolean

    Permalink

    Check if the given result is a compressible result.

    Check if the given result is a compressible result.

    result

    The result to check.

    returns

    True if the result is a compressible result, false otherwise.

    Attributes
    protected
  16. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Filter

Inherited from EssentialFilter

Inherited from AnyRef

Inherited from Any

Ungrouped