类 HTTPGetAction


  • public class HTTPGetAction
    extends Object
    HTTPGetAction describes an action based on HTTP Get requests.
    • 构造器详细资料

      • HTTPGetAction

        public HTTPGetAction()
        The constructor of HTTPGetAction.
      • HTTPGetAction

        public HTTPGetAction​(String path,
                             int port,
                             String host,
                             String scheme,
                             List<HTTPHeader> httpHeaders)
        The constructor of HTTPGetAction.
        参数:
        path - The path to access on the HTTP server
        port - The port of the container to send the HTTP request
        host - The host name to connect to, defaults to the pod IP
        scheme - The scheme to use for connecting to the host
        httpHeaders - Custom headers to set in the request