@SuppressWarnings("unchecked")
protected Object proccess() throws SherpaRuntimeException {
if(!isRestful()) {
requestProcessor = new DefaultRequestProcessor();
} else {
requestProcessor = new RestfulRequestProcessor(applicationContext);
}
String endpoint = requestProcessor.getEndpoint(request);
String action = requestProcessor.getAction(request);
String httpMethod = request.getMethod();