org.jboss.resteasy.springmvc
Class ResteasyWebArgumentResolver

java.lang.Object
  extended by org.jboss.resteasy.springmvc.ResteasyWebArgumentResolver
All Implemented Interfaces:
org.springframework.web.bind.support.WebArgumentResolver

public class ResteasyWebArgumentResolver
extends java.lang.Object
implements org.springframework.web.bind.support.WebArgumentResolver

This class can be used as part of Spring's AnnotationMethodHandlerAdapter. Take a look at AnnotationMethodHandlerAdapter.setCustomArgumentResolver()

Version:
$Revision: 1 $
Author:
Solomn Duskis

Field Summary
 
Fields inherited from interface org.springframework.web.bind.support.WebArgumentResolver
UNRESOLVED
 
Constructor Summary
ResteasyWebArgumentResolver()
           
 
Method Summary
 ResteasyProviderFactory getFactory()
           
 java.lang.Object resolveArgument(org.springframework.core.MethodParameter methodParameter, org.springframework.web.context.request.NativeWebRequest webRequest)
           
 void setFactory(ResteasyProviderFactory factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResteasyWebArgumentResolver

public ResteasyWebArgumentResolver()
Method Detail

getFactory

public ResteasyProviderFactory getFactory()

setFactory

public void setFactory(ResteasyProviderFactory factory)

resolveArgument

public java.lang.Object resolveArgument(org.springframework.core.MethodParameter methodParameter,
                                        org.springframework.web.context.request.NativeWebRequest webRequest)
                                 throws java.lang.Exception
Specified by:
resolveArgument in interface org.springframework.web.bind.support.WebArgumentResolver
Throws:
java.lang.Exception


Copyright © 2010. All Rights Reserved.