Class RequestBody

java.lang.Object
io.github.dsheirer.rrapi.request.RequestBody
Direct Known Subclasses:
FccGetCallsign, FccGetProximityCallsigns, FccGetRadioServiceCode, GetAgencyFrequenciesByTag, GetAgencyInfo, GetApco25Systems, GetCountiesByList, GetCountryInfo, GetCountryList, GetCountyFrequenciesByTag, GetCountyInfo, GetFlavors, GetMetroInfo, GetMetros, GetModes, GetSites, GetStateInfo, GetStatesByList, GetSubCategoryFrequenciesRequest, GetSystemInformation, GetTags, GetTalkgroupCategories, GetTalkgroups, GetTypes, GetUserData, GetUserFeedBroadcasts, GetVoices, GetZipcodeInfo, SearchCountyFrequency, SearchMetroFrequency, SearchStateFrequency

public class RequestBody extends Object
Payload for a Radio Reference SOAP envelope body element
  • Constructor Details

    • RequestBody

      public RequestBody()
      Empty constructor for Jackson
    • RequestBody

      public RequestBody(AuthorizationInformation authorizationInformation)
      Constructs a request body
      Parameters:
      authorizationInformation - containing username and password
  • Method Details

    • getAuthorizationInformation

      public AuthorizationInformation getAuthorizationInformation()
      Authorization information
      Returns:
      authorization information
    • setAuthorizationInformation

      public void setAuthorizationInformation(AuthorizationInformation authorizationInformation)
      Sets the authorization information for this request
      Parameters:
      authorizationInformation - containing username and password
    • create

      public static RequestEnvelope create(RequestBody requestBody)
      Creates a request envelope containing the request body
      Parameters:
      requestBody - to wrap with the envelope
      Returns:
      request envelope