66
66
import org .elasticsearch .index .rankeval .RankEvalRequest ;
67
67
import org .elasticsearch .index .rankeval .RankEvalResponse ;
68
68
import org .elasticsearch .plugins .spi .NamedXContentProvider ;
69
- import org .elasticsearch .protocol .xpack .common .Validatable ;
70
- import org .elasticsearch .protocol .xpack .common .ValidationException ;
71
69
import org .elasticsearch .rest .BytesRestResponse ;
72
70
import org .elasticsearch .rest .RestStatus ;
73
71
import org .elasticsearch .script .mustache .MultiSearchTemplateRequest ;
@@ -953,8 +951,7 @@ public final void fieldCapsAsync(FieldCapabilitiesRequest fieldCapabilitiesReque
953
951
954
952
/**
955
953
* @deprecated If creating a new HLRC ReST API call, consider creating new actions instead of reusing server actions. The Validation
956
- * layer has been added to the ReST client, and requests should extend
957
- * {@link org.elasticsearch.protocol.xpack.common.ValidationException} instead of `ActionRequest`.
954
+ * layer has been added to the ReST client, and requests should extend {@link Validatable} instead of `ActionRequest`.
958
955
*/
959
956
@ Deprecated
960
957
protected final <Req extends ActionRequest , Resp > Resp performRequestAndParseEntity (Req request ,
@@ -980,8 +977,7 @@ protected final <Req extends Validatable, Resp> Resp performRequestAndParseEntit
980
977
981
978
/**
982
979
* @deprecated If creating a new HLRC ReST API call, consider creating new actions instead of reusing server actions. The Validation
983
- * layer has been added to the ReST client, and requests should extend
984
- * {@link org.elasticsearch.protocol.xpack.common.ValidationException} instead of `ActionRequest`.
980
+ * layer has been added to the ReST client, and requests should extend {@link Validatable} instead of `ActionRequest`.
985
981
*/
986
982
@ Deprecated
987
983
protected final <Req extends ActionRequest , Resp > Resp performRequest (Req request ,
@@ -1048,8 +1044,7 @@ private <Req, Resp> Resp internalPerformRequest(Req request,
1048
1044
1049
1045
/**
1050
1046
* @deprecated If creating a new HLRC ReST API call, consider creating new actions instead of reusing server actions. The Validation
1051
- * layer has been added to the ReST client, and requests should extend
1052
- * {@link org.elasticsearch.protocol.xpack.common.ValidationException} instead of `ActionRequest`.
1047
+ * layer has been added to the ReST client, and requests should extend {@link Validatable} instead of `ActionRequest`.
1053
1048
*/
1054
1049
@ Deprecated
1055
1050
protected final <Req extends ActionRequest , Resp > void performRequestAsyncAndParseEntity (Req request ,
@@ -1076,8 +1071,7 @@ protected final <Req extends Validatable, Resp> void performRequestAsyncAndParse
1076
1071
1077
1072
/**
1078
1073
* @deprecated If creating a new HLRC ReST API call, consider creating new actions instead of reusing server actions. The Validation
1079
- * layer has been added to the ReST client, and requests should extend
1080
- * {@link org.elasticsearch.protocol.xpack.common.ValidationException} instead of `ActionRequest`.
1074
+ * layer has been added to the ReST client, and requests should extend {@link Validatable} instead of `ActionRequest`.
1081
1075
*/
1082
1076
@ Deprecated
1083
1077
protected final <Req extends ActionRequest , Resp > void performRequestAsync (Req request ,
0 commit comments