public class PrefixPricingMethod extends AbstractMethod<PrefixPricingRequest,PrefixPricingResponse>
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Class[] |
getAcceptableAuthMethods() |
org.apache.http.client.methods.RequestBuilder |
makeRequest(PrefixPricingRequest prefixPricingRequest)
Construct and return a RequestBuilder instance from the provided request.
|
PrefixPricingResponse |
parseResponse(org.apache.http.HttpResponse response)
Construct a ResultT representing the contents of the HTTP response returned from the Nexmo Voice API.
|
applyAuth, execute, getAuthMethod, setHttpClientprotected java.lang.Class[] getAcceptableAuthMethods()
getAcceptableAuthMethods in class AbstractMethod<PrefixPricingRequest,PrefixPricingResponse>public org.apache.http.client.methods.RequestBuilder makeRequest(PrefixPricingRequest prefixPricingRequest)
AbstractMethodmakeRequest in class AbstractMethod<PrefixPricingRequest,PrefixPricingResponse>prefixPricingRequest - A RequestT representing input to the REST call to be madepublic PrefixPricingResponse parseResponse(org.apache.http.HttpResponse response) throws java.io.IOException
AbstractMethodparseResponse in class AbstractMethod<PrefixPricingRequest,PrefixPricingResponse>response - An HttpResponse returned from the Nexmo Voice APIjava.io.IOException - if a problem occurs parsing the response