Class RenewFlightEndpointRequest

java.lang.Object
org.apache.arrow.flight.RenewFlightEndpointRequest

public class RenewFlightEndpointRequest extends Object
A request to extend the expiration time of a FlightEndpoint.
  • Constructor Details

    • RenewFlightEndpointRequest

      public RenewFlightEndpointRequest(FlightEndpoint endpoint)
  • Method Details

    • getFlightEndpoint

      public FlightEndpoint getFlightEndpoint()
    • serialize

      public ByteBuffer serialize()
      Get the serialized form of this protocol message.

      Intended to help interoperability by allowing non-Flight services to still return Flight types.

    • deserialize

      public static RenewFlightEndpointRequest deserialize(ByteBuffer serialized) throws IOException, URISyntaxException
      Parse the serialized form of this protocol message.

      Intended to help interoperability by allowing Flight clients to obtain stream info from non-Flight services.

      Parameters:
      serialized - The serialized form of the message, as returned by serialize().
      Returns:
      The deserialized message.
      Throws:
      IOException - if the serialized form is invalid.
      URISyntaxException