Class FlightSearchController
java.lang.Object
de.hybris.platform.coreairlinecommonsocc.controllers.AirlineBaseController
de.hybris.platform.coreairlineocc.controllers.FlightSearchController
@Controller
@RequestMapping("/{baseSiteId}")
public class FlightSearchController
extends AirlineBaseController
-
Field Summary
Fields inherited from class de.hybris.platform.coreairlinecommonsocc.controllers.AirlineBaseController
BASIC_FIELD_SET, DEFAULT_CURRENT_PAGE, DEFAULT_PAGE_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<FlightSearchResponse>flightSearch(FlightSearchRequest flightSearchRequest, String salesApplication) Methods inherited from class de.hybris.platform.coreairlinecommonsocc.controllers.AirlineBaseController
createPaginationData, getAbsoluteLocationURL, getDataMapper, getErrorCode, getErrorCodeResolver, handleAccessDeniedException, handleMissingRequestHeaderException, handleTravelModelNotFoundException, sanitize, validate, validate
-
Constructor Details
-
FlightSearchController
public FlightSearchController()
-
-
Method Details
-
flightSearch
@Secured({"ROLE_CLIENT","ROLE_GUEST","ROLE_CUSTOMERGROUP","ROLE_CUSTOMERMANAGERGROUP","ROLE_TRUSTED_CLIENT"}) @RequestMapping(value="/fares", method=POST) @ResponseBody public org.springframework.http.ResponseEntity<FlightSearchResponse> flightSearch(@RequestBody FlightSearchRequest flightSearchRequest, @RequestHeader(name="sap.cx-sales-application") String salesApplication)
-