public class SpringMVCBinder extends AbstractRestfulBinder
Constructor and Description |
---|
SpringMVCBinder() |
Modifier and Type | Method and Description |
---|---|
protected void |
addEndpointMapping(javassist.CtMethod ctMethod,
String method,
String request) |
protected javassist.CtClass |
buildProxy(javassist.ClassPool cp,
String beanName,
String proxyClassName,
Class<?> statefulControllerClass,
Class<?> idType,
boolean isDomainEntity,
Map<String,Method> eventMapping,
ReferenceFactory refFactory) |
protected javassist.bytecode.annotation.Annotation[] |
createParameterAnnotations(String parmName,
javassist.bytecode.MethodInfo methodInfo,
Annotation[] annotations,
javassist.bytecode.ConstPool parameterConstPool)
Clone all the parameter Annotations from the StatefulController to the Proxy
|
protected Class<?> |
getComponentClass() |
String |
getKey()
Returns the "key" for this EndpointBinder.
|
protected Class<?> |
getPathAnnotationClass() |
protected String |
getSuffix() |
addComponentAnnotation, addFSMHarnessReference, addHttpRequestParameter, addIdParameter, addRequestMethod, addRequestMethodBody, addRequestMethods, addRequestParameters, bindEndpoints, copyParameters, createRequestMethod, getMethodPattern, parseMethod
public static final String KEY
public String getKey()
EndpointBinder
protected javassist.CtClass buildProxy(javassist.ClassPool cp, String beanName, String proxyClassName, Class<?> statefulControllerClass, Class<?> idType, boolean isDomainEntity, Map<String,Method> eventMapping, ReferenceFactory refFactory) throws javassist.CannotCompileException, javassist.NotFoundException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
buildProxy
in class AbstractRestfulBinder
javassist.CannotCompileException
javassist.NotFoundException
IllegalArgumentException
IllegalAccessException
InvocationTargetException
protected Class<?> getComponentClass()
getComponentClass
in class AbstractRestfulBinder
protected javassist.bytecode.annotation.Annotation[] createParameterAnnotations(String parmName, javassist.bytecode.MethodInfo methodInfo, Annotation[] annotations, javassist.bytecode.ConstPool parameterConstPool) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
createParameterAnnotations
in class AbstractRestfulBinder
methodInfo
- parmName
- parameterConstPool
- annotations
- IllegalArgumentException
IllegalAccessException
InvocationTargetException
protected void addEndpointMapping(javassist.CtMethod ctMethod, String method, String request)
addEndpointMapping
in class AbstractRestfulBinder
protected String getSuffix()
getSuffix
in class AbstractRestfulBinder
protected Class<?> getPathAnnotationClass()
getPathAnnotationClass
in class AbstractRestfulBinder
Copyright © 2016. All rights reserved.