AbstractContainerService.PortMappingProvider
Stay organized with collections
Save and categorize content based on your preferences.
-
- Enclosing class:
- AbstractContainerService
public static interface AbstractContainerService.PortMappingProvider
Provider for the 'portMapping'.
The provided map contains an entry for every backend instance.
For the main instance the key is the backend name and the value is
the hostname:port for sending http requests to the instance (i.e.
bob->127.0.0.1:1234). For other instances the key is
instance-id.hostname and the value is again the hostname:port for
sending http requests to the instance (i.e. 2.bob->127.0.0.1:1234).
-
-
Method Detail
-
getPortMapping
java.util.Map<java.lang.String,java.lang.String> getPortMapping()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-15 UTC."],[[["`AbstractContainerService.PortMappingProvider` is an interface within the `com.google.appengine.tools.development` package that provides a mapping for ports."],["The `getPortMapping` method returns a map where keys represent backend instances and values represent the corresponding hostname:port for sending HTTP requests."],["The key for the main instance is the backend name, and the value is the `hostname:port`, while for other instances, the key is the `instance-id.hostname`, and the value is the corresponding `hostname:port`."],["The interface method `getPortMapping` does not take any arguments."]]],[]]