Object

com.malliina.play.http

Proxies

Related Doc: package http

Permalink

object Proxies

I got false negatives with the default implementation of request.secure in Play, so this object provides an alternative implementation in Proxies.isSecure.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Proxies
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. val CFVisitor: String

    Permalink
  5. val Http: String

    Permalink
  6. val Https: String

    Permalink
  7. val Scheme: String

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def cloudFlareProto(headers: Headers): Option[String]

    Permalink

    Example CF-Visitor value: {"scheme":"https"} or {"scheme":"http"}.

    Example CF-Visitor value: {"scheme":"https"} or {"scheme":"http"}.

    headers

    request headers

    returns

    the scheme, if any

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hasPlainHeaders(headers: Headers): Boolean

    Permalink
  16. def hasSecureHeaders(headers: Headers): Boolean

    Permalink
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def isSecure(rh: RequestHeader): Boolean

    Permalink

    Call me instead of request.secure.

    Call me instead of request.secure.

    rh

    request

    returns

    true if the requests seems to use SSL, false otherwise

  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def proto(headers: Headers): Option[String]

    Permalink

    headers

    request headers

    returns

    the raw protocol value, based on headers alone

  24. def realAddress(rh: RequestHeader): String

    Permalink
  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def xForwardedProto(headers: Headers): Option[String]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped