Package org.brerp.base.util
Class WebServiceCepPostmon
java.lang.Object
org.brerp.base.util.WebServiceCep
org.brerp.base.util.WebServiceCepPostmon
Get data (xml/json) from Postmon API
Get data about address using Zip code/CEP reference
- Version:
- 1.0.0: WebServiceCepPostmon.java, 07/07/2015 15h20 henrique.lavezzo
- Author:
- Henrique Aparecido Lavezzo (henrique.lavezzo@devcoffee.com.br>, http://www.devcoffee.com.br)
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doSearch()
Perform address search using Zip code as reference; Perform HTTP GET request, setting XML as default return value;Methods inherited from class org.brerp.base.util.WebServiceCep
getAllData, getCep, getCity, getCountry, getNeighborhood, getReturn_status, getState, getStreet, setCity, setCountry, setNeighborhood, setReturn_status, setState, setStreet
-
Field Details
-
logger
-
POSTMON_HOST
- See Also:
-
POSTMON_VERSION
- See Also:
-
POSTMON_FORMAT
- See Also:
-
-
Constructor Details
-
WebServiceCepPostmon
-
-
Method Details
-
doSearch
public void doSearch()Perform address search using Zip code as reference; Perform HTTP GET request, setting XML as default return value;- Specified by:
doSearch
in classWebServiceCep
- Parameters:
none
-
-