object UserAgentCalculator extends Factory
- Alphabetic
- By Inheritance
- UserAgentCalculator
- Factory
- SimpleInjector
- Injector
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
class
FactoryMaker
[T] extends StackableMaker[T] with Vendor[T]
Create an object or val that is a subclass of the FactoryMaker to generate factory for a particular class as well as define session and request specific vendors and use doWith to define the vendor just for the scope of the call.
Create an object or val that is a subclass of the FactoryMaker to generate factory for a particular class as well as define session and request specific vendors and use doWith to define the vendor just for the scope of the call.
- Definition Classes
- Factory
-
abstract
class
Inject
[T] extends StackableMaker[T] with Vendor[T]
Create an object or val that is a subclass of the FactoryMaker to generate factory for a particular class as well as define session and request specific vendors and use doWith to define the vendor just for the scope of the call.
Create an object or val that is a subclass of the FactoryMaker to generate factory for a particular class as well as define session and request specific vendors and use doWith to define the vendor just for the scope of the call.
- Definition Classes
- SimpleInjector
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
chromePattern: Regex
The default regular expression for Chrome
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
defaultChromeCalcFunction(userAgent: Box[String]): Box[Double]
The built-in mechanism for calculating Chrome
-
def
defaultFirefoxCalcFunction(userAgent: Box[String]): Box[Double]
The built-in mechanism for calculating Firefox
-
def
defaultIeCalcFunction(userAgent: Box[String]): Box[Double]
The built-in mechanism for calculating IE
-
def
defaultSafariCalcFunction(userAgent: Box[String]): Box[Double]
The built-in mechanism for calculating Safari
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
firefoxPattern: Regex
The default regular expression for Firefox
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
val
iePattern: Regex
The default regular expression for IE
-
implicit
def
inject[T](implicit man: Manifest[T]): Box[T]
Perform the injection for the given type.
Perform the injection for the given type. You can call: inject[Date] or inject[List[Map[String, PaymentThing]]]. The appropriate Manifest will be
- Definition Classes
- SimpleInjector → Injector
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
registerInjection[T](f: () ⇒ T)(implicit man: Manifest[T]): Unit
Register a function that will inject for the given Manifest
Register a function that will inject for the given Manifest
- Definition Classes
- SimpleInjector
-
val
safariPattern: Regex
The default regular expression for Safari
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
object
chromeCalcFunction
extends FactoryMaker[(Box[String]) ⇒ Box[Double]]
You can change the mechanism by which the user agent for Chrome is calculated by doing the Factory thing with this object
-
object
firefoxCalcFunction
extends FactoryMaker[(Box[String]) ⇒ Box[Double]]
You can change the mechanism by which the user agent for Firefox is calculated by doing the Factory thing with this object
-
object
iPadCalcFunction
extends FactoryMaker[Box[(Box[String]) ⇒ Boolean]]
You can change the mechanism by which Lift calculates if the User-Agent represents an iPad.
You can change the mechanism by which Lift calculates if the User-Agent represents an iPad. Put your special calculation function in here
-
object
iPhoneCalcFunction
extends FactoryMaker[Box[(Box[String]) ⇒ Boolean]]
You can change the mechanism by which Lift calculates if the User-Agent represents an iPhone.
You can change the mechanism by which Lift calculates if the User-Agent represents an iPhone. Put your special calculation function in here
-
object
ieCalcFunction
extends FactoryMaker[(Box[String]) ⇒ Box[Double]]
You can change the mechanism by which the user agent for IE is calculated by doing the Factory thing with this object
-
object
safariCalcFunction
extends FactoryMaker[(Box[String]) ⇒ Box[Double]]
You can change the mechanism by which the user agent for Safari is calculated by doing the Factory thing with this object