Class RequestArray<T>

java.lang.Object
io.github.dsheirer.rrapi.request.RequestArray<T>
Type Parameters:
T - item type

public class RequestArray<T> extends Object
SOAP encoded array request parameter: <request SOAP-ENC:arrayType="tns:stid[3]"><item>...</item>... The service only decodes the parameter as an array when it has the arrayType attribute. Without it, the service decodes the items as a single struct and ignores the requested ids.
  • Field Details

  • Constructor Details

    • RequestArray

      public RequestArray(String itemType, List<T> items)
      Constructs an instance
      Parameters:
      itemType - WSDL type of the items, for example tns:stid
      items - of the array
  • Method Details

    • getArrayType

      public String getArrayType()
      SOAP encoding array type with the item count, for example tns:stid[3]
    • getItems

      public List<T> getItems()
      Items of the array