org.jboss.seam.rest.validation
Class MethodMetadata
java.lang.Object
org.jboss.seam.rest.validation.MethodMetadata
public class MethodMetadata
- extends Object
Caches method metadata needed to perform validation of JAX-RS requests.
- Author:
- Jozef Hartinger
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodMetadata
public MethodMetadata(Method method,
Integer messageBody,
Set<Integer> validatedParameters,
org.jboss.seam.rest.validation.ValidateRequest interceptorBinding)
getMethod
public Method getMethod()
getMessageBody
public Integer getMessageBody()
- Returns the index of the message body parameter or null if the method does not contain a message body parameter.
getValidatedParameters
public Set<Integer> getValidatedParameters()
- Returns a set of indexes of the validated parameters.
getInterceptorBinding
public org.jboss.seam.rest.validation.ValidateRequest getInterceptorBinding()
Copyright © 2011 Seam Framework. All Rights Reserved.