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, parseMethodpublic static final String KEY
public String getKey()
EndpointBinderprotected 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 AbstractRestfulBinderjavassist.CannotCompileExceptionjavassist.NotFoundExceptionIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionprotected Class<?> getComponentClass()
getComponentClass in class AbstractRestfulBinderprotected javassist.bytecode.annotation.Annotation[] createParameterAnnotations(String parmName, javassist.bytecode.MethodInfo methodInfo, Annotation[] annotations, javassist.bytecode.ConstPool parameterConstPool) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
createParameterAnnotations in class AbstractRestfulBindermethodInfo - parmName - parameterConstPool - annotations - IllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionprotected void addEndpointMapping(javassist.CtMethod ctMethod,
String method,
String request)
addEndpointMapping in class AbstractRestfulBinderprotected String getSuffix()
getSuffix in class AbstractRestfulBinderprotected Class<?> getPathAnnotationClass()
getPathAnnotationClass in class AbstractRestfulBinderCopyright © 2016. All rights reserved.