Class AerisBatchRequest
- java.lang.Object
- 
- com.aerisweather.aeris.communication.UrlBuilder
- 
- com.aerisweather.aeris.communication.AerisRequest
- 
- com.aerisweather.aeris.communication.AerisBatchRequest
 
 
 
- 
- Direct Known Subclasses:
- AerisLocBatchRequest
 
 public class AerisBatchRequest extends AerisRequest 
- 
- 
Field SummaryFields Modifier and Type Field Description protected Endpoint[]endpoints- 
Fields inherited from class com.aerisweather.aeris.communication.AerisRequestaction, debug, endpoint, id, lat, longitude, parameters, secureAccess
 - 
Fields inherited from class com.aerisweather.aeris.communication.UrlBuilderclientId, clientSecret, packageName
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedAerisBatchRequest()protectedAerisBatchRequest(Action action, Parameter... params)protectedAerisBatchRequest(Parameter... params)protectedAerisBatchRequest(String id, Parameter... params)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbuild()Builds the requestStringgetRequests()Constructs the requests into the proper format.voidsetEndpoints(Endpoint... points)Sets the different Endpoints to get responses for.- 
Methods inherited from class com.aerisweather.aeris.communication.AerisRequestgetLat, getLongitude, getParameters, isDebug, isSecureAccess, withDebugOutput, withSecureAccess
 - 
Methods inherited from class com.aerisweather.aeris.communication.UrlBuildergetLimit, getOAuth, getPositionString
 
- 
 
- 
- 
- 
Field Detail- 
endpointsprotected Endpoint[] endpoints 
 
- 
 - 
Method Detail- 
setEndpointspublic void setEndpoints(Endpoint... points) Sets the different Endpoints to get responses for. These each count as a different request toward the API.- Parameters:
- points- Array of Endpoint calls to use in the request
 
 - 
buildpublic String build() Builds the request- Overrides:
- buildin class- AerisRequest
- Returns:
- the String url for the request.
 
 - 
getRequestspublic String getRequests() Constructs the requests into the proper format.- Returns:
- String of requests to add to the batch
 
 
- 
 
-