public class HTTPRequestMultiMode extends Object
Constructor and Description |
---|
HTTPRequestMultiMode() |
Modifier and Type | Method and Description |
---|---|
Input |
getInput()
Get input configuration
|
HashMap<String,HTTPRequestToggles> |
getServiceToggles()
Get service toggles
|
static HTTPRequestMultiMode |
load(String path)
Load multimode configuration from GCS or as a resource
|
void |
setInput(Input input)
Set input configuration
|
void |
setServiceToggles(HashMap<String,HTTPRequestToggles> serviceToggles)
Set service toggles
|
public static HTTPRequestMultiMode load(String path) throws IOException
path
- Path to load JSON file from, resource path or GCS URLHTTPRequestMultiMode
IOException
- IOExceptionpublic void setInput(Input input)
input
- Inputpublic Input getInput()
public void setServiceToggles(HashMap<String,HTTPRequestToggles> serviceToggles)
serviceToggles
- Map of service/HTTPRequestTogglespublic HashMap<String,HTTPRequestToggles> getServiceToggles()
Copyright © 2022. All rights reserved.