protected static void search(ProcessSearchFlights processSearchFlights) {
		StringBuffer stringBuffer = new StringBuffer(TravelSDK.INSTANCE.getSettingsResult().getWsUrl());
		stringBuffer.append("?prgm=flight.search");
		TravelSDK.appendStandartServiceParameters(stringBuffer);
		stringBuffer.append("&offset=0&limit=").append(TravelSDK.INSTANCE.getPageLimit());
		FlightSearchParameters searchParameters = processSearchFlights.getSearchParameters();
		stringBuffer.append("&flight-from=").append(searchParameters.getFromAirportId());
		stringBuffer.append("&flight-to=").append(searchParameters.getToAirportId());
		stringBuffer.append("&flight-dep-date=").append(StringUtil.toDateString(searchParameters.getDepartureDate()));
		if (searchParameters.isRoundTrip()) {
			if (searchParameters.getReturnDate() > 0) {
				stringBuffer.append("&flight-rt-date=").append(
						StringUtil.toDateString(searchParameters.getReturnDate()));
			}
		}
		stringBuffer.append("&flight-type=").append(searchParameters.isRoundTrip() ? "rt" : "ow");
		stringBuffer.append("&pax=").append(searchParameters.getNumberOfAdults());
		stringBuffer.append("&chpax=").append(searchParameters.getNumberOfChildren());
		stringBuffer.append("&infpax=").append(searchParameters.getNumberOfInfants());
		if (searchParameters.getCabinClass() != null) {
			stringBuffer.append("&cabinclass=").append(searchParameters.getCabinClass());
		}
		if (searchParameters.getCarrierCode() != null) {
			stringBuffer.append("&carrier-code=").append(searchParameters.getCarrierCode());
		}
		if (searchParameters.isDirect()) {
			stringBuffer.append("&directflights=true");
		}
		if (TravelSDK.INSTANCE.getCurrencyCode() != null) {
			stringBuffer.append("&currency=").append(TravelSDK.INSTANCE.getCurrencyCode());
		}
		// Result filters
		appendFilterParameters(stringBuffer, processSearchFlights.getFilterParameters());

		new RequestThread(stringBuffer.toString(), processSearchFlights, true).start();
	}