public final class RouteFinderUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static UaiRoute |
findValidRoute(io.undertow.server.HttpServerExchange httpServerExchange)
This method will return the route of the received request
It will check for the same queryParam and header
We can have URLs like:
http://uaimockserver.com?queryParam=A returns 201
http://uaimockserver.com?queryParam=B returns 204
|
public static UaiRoute findValidRoute(io.undertow.server.HttpServerExchange httpServerExchange)
httpServerExchange - the current requestCopyright © 2015. All rights reserved.