Class DefaultPunchOutSetUpController
- java.lang.Object
-
- de.hybris.platform.b2bpunchoutaddon.controllers.pages.DefaultPunchOutSetUpController
-
- All Implemented Interfaces:
PunchOutController
@Component public class DefaultPunchOutSetUpController extends java.lang.Object implements PunchOutController
Controller that handles the Punch Out Setup request.
-
-
Constructor Summary
Constructors Constructor Description DefaultPunchOutSetUpController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CXMLhandleException(java.lang.Exception exc)CXMLhandlePunchOutSetUpRequest(CXML requestBody)Receives a request from the punchout provider and sends it the information to access the hybris site.
-
-
-
Method Detail
-
handlePunchOutSetUpRequest
@RequestMapping(value="/punchout/cxml/setup", method=POST) @ResponseBody public CXML handlePunchOutSetUpRequest(@RequestBody CXML requestBody)Receives a request from the punchout provider and sends it the information to access the hybris site.- Parameters:
requestBody- The cXML file with the punchout user requisition.- Returns:
- A cXML file with the access information.
-
handleException
@ExceptionHandler(java.lang.Exception.class) @ResponseStatus(BAD_REQUEST) @ResponseBody public CXML handleException(java.lang.Exception exc)
-
-