Route all(String path, [middlewareA = nothing, middlewareB = nothing, middlewareC = nothing, middlewareD = nothing, middlewareE = nothing, middlewareF = nothing, middlewareG = nothing, middlewareH = nothing, middlewareI = nothing, middlewareJ = nothing, middlewareK = nothing, middlewareL = nothing, middlewareM = nothing, middlewareN = nothing, middlewareO = nothing, middlewareP = nothing, middlewareQ = nothing, middlewareR = nothing, middlewareS = nothing, middlewareT = nothing, middlewareU = nothing, middlewareV = nothing, middlewareW = nothing, middlewareX = nothing, middlewareY = nothing, middlewareZ = nothing])

Source

static Route all(String path,
    [middlewareA = nothing, middlewareB = nothing, middlewareC = nothing,
    middlewareD = nothing, middlewareE = nothing, middlewareF = nothing, middlewareG = nothing,
    middlewareH = nothing, middlewareI = nothing, middlewareJ = nothing, middlewareK = nothing,
    middlewareL = nothing, middlewareM = nothing, middlewareN = nothing, middlewareO = nothing,
    middlewareP = nothing, middlewareQ = nothing, middlewareR = nothing, middlewareS = nothing,
    middlewareT = nothing, middlewareU = nothing, middlewareV = nothing, middlewareW = nothing,
    middlewareX = nothing, middlewareY = nothing, middlewareZ = nothing]) {
  return new Route(['GET', 'HEAD', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'UPDATE', 'DELETE'],
      path, pipe(middlewareA, middlewareB,
          middlewareC, middlewareD, middlewareE, middlewareF, middlewareG, middlewareH,
          middlewareI, middlewareJ, middlewareK, middlewareL, middlewareM, middlewareN,
          middlewareO, middlewareP, middlewareQ, middlewareR, middlewareS, middlewareT,
          middlewareU, middlewareV, middlewareW, middlewareX, middlewareY, middlewareZ));
}