Package org.cdk8s.plus22
Class Handler
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus22.Handler
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-11T03:06:35.000Z") @Stability(Stable) public class Handler extends software.amazon.jsii.JsiiObject
Defines a specific action that should be taken.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HandlerfromCommand(List<String> command)Defines a handler based on a command which is executed within the container.static HandlerfromHttpGet(String path)Defines a handler based on an HTTP GET request to the IP address of the container.static HandlerfromHttpGet(String path, HandlerFromHttpGetOptions options)Defines a handler based on an HTTP GET request to the IP address of the container.static HandlerfromTcpSocket()Defines a handler based opening a connection to a TCP socket on the container.static HandlerfromTcpSocket(HandlerFromTcpSocketOptions options)Defines a handler based opening a connection to a TCP socket on the container.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Method Detail
-
fromCommand
@Stability(Stable) @NotNull public static Handler fromCommand(@NotNull List<String> command)
Defines a handler based on a command which is executed within the container.- Parameters:
command- The command to execute. This parameter is required.
-
fromHttpGet
@Stability(Stable) @NotNull public static Handler fromHttpGet(@NotNull String path, @Nullable HandlerFromHttpGetOptions options)
Defines a handler based on an HTTP GET request to the IP address of the container.- Parameters:
path- The URL path to hit. This parameter is required.options- Options.
-
fromHttpGet
@Stability(Stable) @NotNull public static Handler fromHttpGet(@NotNull String path)
Defines a handler based on an HTTP GET request to the IP address of the container.- Parameters:
path- The URL path to hit. This parameter is required.
-
fromTcpSocket
@Stability(Stable) @NotNull public static Handler fromTcpSocket(@Nullable HandlerFromTcpSocketOptions options)
Defines a handler based opening a connection to a TCP socket on the container.- Parameters:
options- Options.
-
fromTcpSocket
@Stability(Stable) @NotNull public static Handler fromTcpSocket()
Defines a handler based opening a connection to a TCP socket on the container.
-
-