| Modifier and Type | Method and Description |
|---|---|
void |
UaiMockServerContext.addRoute(UaiRoute uaiRoute) |
void |
UaiMockServerContext.deleteRoute(UaiRoute uaiRoute) |
| Modifier and Type | Method and Description |
|---|---|
static List<UaiRouteDTO> |
UaiRouteDTOFactory.create(List<UaiRoute> uaiRouteList) |
| Modifier and Type | Method and Description |
|---|---|
static UaiRoute |
UaiRouteFactory.clone(UaiRoute uaiRoute) |
static UaiRoute |
UaiRouteFactory.create(UaiRouteDTO uaiRouteDTO) |
| Modifier and Type | Method and Description |
|---|---|
static UaiRoute |
UaiRouteFactory.clone(UaiRoute uaiRoute) |
static void |
UaiRouteFactory.setDTOValueToEntity(UaiRoute uaiRoute,
UaiRouteDTO uaiRouteDTO) |
| Modifier and Type | Method and Description |
|---|---|
List<UaiRoute> |
UaiMockServerConfig.getRouteList() |
| Modifier and Type | Method and Description |
|---|---|
static UaiRoute |
UaiRouteMapper.deleteRoute(String routeId) |
static UaiRoute |
UaiRouteMapper.findById(String routeId) |
static UaiRoute |
UaiRouteRepository.findById(String routeId) |
| Modifier and Type | Method and Description |
|---|---|
static Set<UaiRoute> |
UaiRouteRepository.findRouteListByKey(io.undertow.server.HttpServerExchange httpServerExchange) |
static Set<UaiRoute> |
UaiRouteMapper.findRouteListByKey(String requestKey) |
static List<UaiRoute> |
UaiRouteRepository.listAllRoutes() |
static List<UaiRoute> |
UaiRouteMapper.listAllRoutes(String selectedProject) |
static List<UaiRoute> |
UaiRouteRepository.listAllRoutes(String selectedProject) |
| Modifier and Type | Method and Description |
|---|---|
static void |
UaiRouteRepository.addFromFile(UaiRoute uaiRoute) |
static void |
UaiRouteMapper.addRoute(UaiRoute uaiRoute) |
static void |
UaiRouteRepository.create(UaiRoute uaiRoute) |
| Modifier and Type | Method and Description |
|---|---|
static UaiRoute |
RouteFinderUtil.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
|
| Modifier and Type | Method and Description |
|---|---|
int |
RouteComparator.compare(UaiRoute firstRoute,
UaiRoute secondRoute) |
Copyright © 2015. All rights reserved.