Class HttpInput
java.lang.Object
co.elastic.clients.elasticsearch.watcher.HttpInput
- All Implemented Interfaces:
InputVariant
,JsonpSerializable
@JsonpDeserializable public class HttpInput extends java.lang.Object implements InputVariant, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpInput.Builder
Builder forHttpInput
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<HttpInput>
_DESERIALIZER
Json deserializer forHttpInput
-
Method Summary
Modifier and Type Method Description Input.Kind
_inputKind()
Input variant kind.java.util.List<java.lang.String>
extract()
API name:extract
HttpInput
http()
API name:http
static HttpInput
of(java.util.function.Function<HttpInput.Builder,ObjectBuilder<HttpInput>> fn)
HttpInputRequestDefinition
request()
API name:request
ResponseContentType
responseContentType()
API name:response_content_type
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupHttpInputDeserializer(ObjectDeserializer<HttpInput.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch.watcher.InputVariant
_toInput
-
Field Details
-
_DESERIALIZER
Json deserializer forHttpInput
-
-
Method Details
-
of
public static HttpInput of(java.util.function.Function<HttpInput.Builder,ObjectBuilder<HttpInput>> fn) -
_inputKind
Input variant kind.- Specified by:
_inputKind
in interfaceInputVariant
-
http
API name:http
-
extract
public final java.util.List<java.lang.String> extract()API name:extract
-
request
API name:request
-
responseContentType
API name:response_content_type
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupHttpInputDeserializer
-