@ApplicationScoped public class MockApiService extends Object
| Constructor and Description |
|---|
MockApiService() |
| Modifier and Type | Method and Description |
|---|---|
com.google.maps.GeoApiContext.Builder |
createGeoApiContext(String baseUrl)
Creates a Builder and sets a new baseUrl for mock with reflection, because it is impossible to set it differently!
|
com.google.maps.GeoApiContext |
createGeoApiContext(String baseUri,
String apiKey) |
public com.google.maps.GeoApiContext createGeoApiContext(String baseUri, String apiKey) throws IllegalAccessException, InstantiationException, NoSuchFieldException
public com.google.maps.GeoApiContext.Builder createGeoApiContext(String baseUrl) throws IllegalAccessException, InstantiationException, NoSuchFieldException
baseUrl - IllegalAccessExceptionInstantiationExceptionNoSuchFieldExceptionCopyright © 2019–2020 The Apache Software Foundation. All rights reserved.