I hereby claim:
- I am kaarenilsen on github.
- I am kaarenilsen (https://keybase.io/kaarenilsen) on keybase.
- I have a public key ASA84e61HDjHPv3E9mnSx9LPkEfldbz-3QgjeP-Pa6u0Ewo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
case class EncodedXml(encoding:String) extends (Res => scala.xml.Elem) { | |
def apply(res: Res) = | |
XML.withSAXParser(factory.newSAXParser).loadString(res.getResponseBody(encoding)) | |
private lazy val factory = { | |
val spf = javax.xml.parsers.SAXParserFactory.newInstance() | |
spf.setNamespaceAware(false) | |
spf | |
} | |
} |
object Elem extends (Res => scala.xml.Elem) { | |
def apply(res: Res) = | |
XML.withSAXParser(factory.newSAXParser).loadString(res.getResponseBody) | |
private lazy val factory = { | |
val spf = javax.xml.parsers.SAXParserFactory.newInstance() | |
spf.setNamespaceAware(false) | |
spf | |
} | |
} |
[default] | |
server.binary = binary | |
server.mongo = mongodb://localhost:27017/ems | |
server.root = /server/ | |
crypt.password = changeme | |
crypt.type = DES | |
cache.events = 0 |