Package org.cdk8s.plus24
Class Handler
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.Handler
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.65.0 (build 7a02b7f)", date="2022-08-21T02:57:21.402Z") @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 Handler
fromCommand(List<String> command)
Defines a handler based on a command which is executed within the container.static Handler
fromHttpGet(String path)
Defines a handler based on an HTTP GET request to the IP address of the container.static Handler
fromHttpGet(String path, HandlerFromHttpGetOptions options)
Defines a handler based on an HTTP GET request to the IP address of the container.static Handler
fromTcpSocket()
Defines a handler based opening a connection to a TCP socket on the container.static Handler
fromTcpSocket(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.
-
-