Class StationRequest
- java.lang.Object
-
- ch.phatec.publibike.network.requests.Request<Station>
-
- ch.phatec.publibike.network.requests.stations.StationRequest
-
-
Constructor Summary
Constructors Constructor Description StationRequest(Long id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.http.client.methods.HttpRequestBasegetHttpRequest()Returns the specificHttpRequestBasefor theRequest.protected Class<Station>getTargetClass()Returns the target return class for theRequest.-
Methods inherited from class ch.phatec.publibike.network.requests.Request
executeRequest
-
-
-
-
Constructor Detail
-
StationRequest
public StationRequest(Long id)
-
-
Method Detail
-
getTargetClass
protected Class<Station> getTargetClass()
Description copied from class:RequestReturns the target return class for theRequest.- Specified by:
getTargetClassin classRequest<Station>- Returns:
- The target return class for the
Request. - See Also:
Request.getTargetClass()
-
getHttpRequest
protected org.apache.http.client.methods.HttpRequestBase getHttpRequest()
Description copied from class:RequestReturns the specificHttpRequestBasefor theRequest.- Specified by:
getHttpRequestin classRequest<Station>- Returns:
- The specific
HttpRequestBasefor theRequest. - See Also:
Request.getHttpRequest()
-
-