code: public Control createRequestControl() {
  		byte[] actualCookie = null;
  		if (cookie != null) {
  			actualCookie = cookie.getCookie();
  		}
  		Constructor constructor = ClassUtils.getConstructorIfAvailable(requestControlClass, new Class[] { int.class,
  				byte[].class, boolean.class });
  		if (constructor == null) {
  			throw new IllegalArgumentException("Failed to find an appropriate RequestControl constructor");
  		}
  
  		Control result = null;
  		try {
  			result = (Control) constructor.newInstance(pageSize, actualCookie,
                      critical);
  		}
  		catch (Exception e) {
  			ReflectionUtils.handleReflectionException(e);
  		}
  
  		return result;
  	}
docs: /*
  @see
  org.springframework.ldap.control.AbstractRequestControlDirContextProcessor
  #createRequestControl()