Deadbolt for Scala

The Deadbolt for Scala Developer Hub

Welcome to the Deadbolt for Scala developer hub. You'll find comprehensive guides and documentation to help you start working with Deadbolt for Scala as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    
Ask A Question


How to compose an Action for multipart upload with Subject Present?

Posted by Michael Read 7 months ago

First, Steve, excellent library. Kudo! I just love Deadbolt! However, I haven't figured this out:

@ describes how to upload a file from the browser:
def upload = Action(parse.multipartFormData) { request =>

How would you compose a deadbolt subject present action with parse.multipartFormData starting from :
def logoUploadPost = actionBuilder.SubjectPresentAction().defaultHandler() { implicit request =>

It seems like it's too late to provide the alternate parser... Maybe something in the Dynamic arena?

Thanks much...

Loading comments...