'Initialize class, wrap WSGI app, and set up given limits.
:param application: WSGI application to wrap
:param limits: String describing limits
:param limiter: String identifying class for representing limits
Other parameters are passed to the constructor for the limiter.'

def __init__(self, application, limits=None, limiter=None, **kwargs):

    base_wsgi.Middleware.__init__(self, application)
    if (limiter is None):
        limiter = Limiter
    else:
        limiter = importutils.import_class(limiter)
    if (limits is not None):
        limits = limiter.parse_limits(limits)
    self._limiter = limiter((limits or DEFAULT_LIMITS), **kwargs)
