caelum/vraptor — pull request #453 by joaopaulog (2012-08-15 18:19:34+00:00)
Title: Add FormDeserializer to BaseComponents (To @Consumes with "application/x-www-form-urlencoded" ) 

Using
```java
@Consumes ("application/x-www-form-urlencoded"})
```
results in a *HTTP Status 415 - Unable to handle media type*
(This resource was implemented in [Issue 424](https://github.com/caelum/vraptor/issues/424))

Although the class `FormDeserializer` exists, it isn't used in `DefaultDeserializers`. This occurs because the class isn't register in `BaseComponents.REQUEST_COMPONENTS`, like others deserializers (e.g. `JSONDeserealizer`)

A workaround for this is register the package `br.com.caelum.vraptor.deserialization` in *web.xml* (@lucascs sugestion).

I didn't do tests for this, because I don't know how to replicate this in a (unit or not) test for VRaptor. And there isn't a `JSONDeserealizerTest` to take as an example.