Class SerializedRequestResult<RequestT extends Request<RequestT,?>>

java.lang.Object
com.sap.cloud.sdk.s4hana.connectivity.SerializedRequestResult<RequestT>
Type Parameters:
RequestT - The generic request type.

@Deprecated public class SerializedRequestResult<RequestT extends Request<RequestT,?>> extends Object
Deprecated.
This module will be discontinued, along with its classes and methods.
Represents serialized request result with a request, result body, and headers.
  • Constructor Details

    • SerializedRequestResult

      public SerializedRequestResult(@Nonnull RequestT request, @Nonnull String body)
      Deprecated.
      Default constructor.
      Parameters:
      request - The original request.
      body - The serialized request result.
    • SerializedRequestResult

      public SerializedRequestResult(@Nonnull RequestT request, @Nonnull String body, @Nonnull List<Header> headers)
      Deprecated.
  • Method Details

    • getRequest

      @Nonnull public RequestT getRequest()
      Deprecated.
    • getBody

      @Nonnull public String getBody()
      Deprecated.
    • getHeaders

      @Nonnull public List<Header> getHeaders()
      Deprecated.
    • equals

      public boolean equals(@Nullable Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      @Nonnull public String toString()
      Deprecated.
      Overrides:
      toString in class Object