{
throw new IllegalRequestException("HTTP Method " + req.getMethod() + " not accepted");
}
//
RequestDecoder decoder = new RequestDecoder(req);
//
this.verb = verb;
this.queryParameterMap = decoder.getQueryParameters();
this.body = decoder.getBody();
this.mediaType = decoder.getMediaType();
}