Class StrmPrivacyClient


  • public class StrmPrivacyClient
    extends java.lang.Object
    Talks to the STRM Privacy, both to the gateway and the egress.
    • Constructor Summary

      Constructors 
      Constructor Description
      StrmPrivacyClient​(java.lang.String clientId, java.lang.String clientSecret, Config config)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static StrmPrivacyClient.Builder builder()  
      java.util.concurrent.CompletableFuture<org.eclipse.jetty.client.api.ContentResponse> send​(io.strmprivacy.schemas.StrmPrivacyEvent event)
      send an StrmPrivacyEvent.
      java.util.concurrent.CompletableFuture<org.eclipse.jetty.client.api.ContentResponse> send​(io.strmprivacy.schemas.StrmPrivacyEvent event, java.lang.Object serializationType)
      Deprecated.
      void stop()
      Disconnects the client and frees up any resources
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StrmPrivacyClient

        public StrmPrivacyClient​(java.lang.String clientId,
                                 java.lang.String clientSecret,
                                 Config config)
    • Method Detail

      • send

        @Deprecated
        public java.util.concurrent.CompletableFuture<org.eclipse.jetty.client.api.ContentResponse> send​(io.strmprivacy.schemas.StrmPrivacyEvent event,
                                                                                                         java.lang.Object serializationType)
        Deprecated.
      • send

        public java.util.concurrent.CompletableFuture<org.eclipse.jetty.client.api.ContentResponse> send​(io.strmprivacy.schemas.StrmPrivacyEvent event)
        send an StrmPrivacyEvent.
        Parameters:
        event - the event.
        Returns:
        future containing the content response
      • stop

        public void stop()
        Disconnects the client and frees up any resources