this.responseType = ctPair.type();
if (routingResponseType == null) {
this.routingResponseType = responseType;
this.rawRoutingResponseType = rawResponseType;
} else {
GenericType routingResponseGenericType = new GenericType(routingResponseType);
this.routingResponseType = routingResponseGenericType.getType();
this.rawRoutingResponseType = routingResponseGenericType.getRawType();
}
this.parameters = Collections.unmodifiableList(Parameter.create(
handlerClass, definitionMethod.getDeclaringClass(), definitionMethod, encodedParameters));
}