Subversion Repositories SmartDukaan

Rev

Rev 26599 | Rev 27043 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26599 Rev 26673
Line 217... Line 217...
217
	}
217
	}
218
 
218
 
219
	public Map<String, Object> process(String token) throws ProfitMandiBusinessException {
219
	public Map<String, Object> process(String token) throws ProfitMandiBusinessException {
220
		Map<String, String> params = new HashMap<>();
220
		Map<String, String> params = new HashMap<>();
221
		params.put(ProfitMandiConstants.ID_TOKEN, token);
221
		params.put(ProfitMandiConstants.ID_TOKEN, token);
222
		Map<String, String> headers = new HashMap<>(1);
222
		Map<String, String> headers = new HashMap<>();
223
		headers.put(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON_VALUE);
223
		headers.put(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON_VALUE);
224
		String responseString = null;
224
		String responseString = null;
225
		try {
225
		try {
226
			responseString = restClient.get(SchemeType.HTTPS, V3_HOST_NAME, PORT_NUMBER, V3_URI, params, headers);
226
			responseString = restClient.get(SchemeType.HTTPS, V3_HOST_NAME, PORT_NUMBER, V3_URI, params, headers);
227
		} catch (HttpHostConnectException e) {
227
		} catch (HttpHostConnectException e) {