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
Payload for a Radio Reference SOAP envelope body element
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor for JacksonRequestBody(AuthorizationInformation authorizationInformation) Constructs a request body -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestEnvelopecreate(RequestBody requestBody) Creates a request envelope containing the request bodyAuthorization informationvoidsetAuthorizationInformation(AuthorizationInformation authorizationInformation) Sets the authorization information for this request
-
Constructor Details
-
RequestBody
public RequestBody()Empty constructor for Jackson -
RequestBody
Constructs a request body- Parameters:
authorizationInformation- containing username and password
-
-
Method Details
-
getAuthorizationInformation
Authorization information- Returns:
- authorization information
-
setAuthorizationInformation
Sets the authorization information for this request- Parameters:
authorizationInformation- containing username and password
-
create
Creates a request envelope containing the request body- Parameters:
requestBody- to wrap with the envelope- Returns:
- request envelope
-