Skip to content

Commit b920069

Browse files
comments
1 parent 7dd71f0 commit b920069

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elastic/response/AuthorizationResponseEntity.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@
3939

4040
/**
4141
* Handles parsing the v2 authorization response from the Elastic Inference Service.
42+
*
43+
* Note: This class does not really need to be {@link InferenceServiceResults}. We do this so that we can leverage the existing
44+
* {@link org.elasticsearch.xpack.inference.external.http.sender.Sender} framework.
45+
*
46+
* Because of this, we don't need to register this class as a named writeable in the NamedWriteableRegistry. It will never be
47+
* sent over the wire between nodes.
4248
*/
4349
public class AuthorizationResponseEntity implements InferenceServiceResults {
4450

0 commit comments

Comments
 (0)