com.apollographql.subscription.message.CallbackMessageNext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of federation-spring-subscription-callback Show documentation
Show all versions of federation-spring-subscription-callback Show documentation
GraphQL Java server support for Apollo Federation
The newest version!
package com.apollographql.subscription.message;
import java.util.Map;
/**
* next
message contains emitted GraphQL subscription data.
*
* @param id unique subscription ID
* @param verifier value provided by Router that is used to validate requests
* @param payload emitted GraphQL subscription data
*/
public record CallbackMessageNext(String id, String verifier, Map payload)
implements SubscritionCallbackMessage {
@Override
public CallbackMessageAction getAction() {
return CallbackMessageAction.NEXT;
}
@Override
public String getId() {
return id;
}
@Override
public String getVerifier() {
return verifier;
}
public Map getPayload() {
return payload;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy