Resolve event handler by HTTP verb (RestBinding)

Description

Attached is a patch that enables one to bind a rest verb to a specific handler in your ActionBean. An example:

@UrlBinding("/RestAction")
public class RestActionBean implements ActionBean {

@RestBinding("PUT")
public Resolution myPutHandler() {
log.info("Got a Put");
return null;
}
}

Now if you send a PUT request to "/yourapp/RestAction", it will be routed to the "myPutHandler" method.

The patch needs a little review & clean-up before committing. Ben's had at least a quick look at it at this point.

Environment

None

Status

Assignee

Unassigned

Reporter

Evan Leonard

Labels

None

Tester

None

Priority

Major
Configure