com.twitter.finatra.http.internal.routing.RequestWithRouteParams.scala Maven / Gradle / Ivy
package com.twitter.finatra.http.internal.routing
import com.twitter.finagle.http.{ParamMap, Request, RequestProxy}
private[http] class RequestWithRouteParams(
wrapped: Request,
incomingParams: Map[String, String])
extends RequestProxy {
override lazy val params: ParamMap = {
new RouteParamMap(super.params, incomingParams)
}
def request: Request = wrapped
}