Class DefaultServiceNameExtractor
java.lang.Object
de.hybris.platform.odata2services.odata.processor.DefaultServiceNameExtractor
- All Implemented Interfaces:
ServiceNameExtractor
Default implementation of the
ServiceNameExtractor-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ELEMENT_DIVIDER
- See Also:
-
MAX_ELEMENTS
public static final int MAX_ELEMENTS- See Also:
-
-
Constructor Details
-
DefaultServiceNameExtractor
public DefaultServiceNameExtractor()
-
-
Method Details
-
extract
Description copied from interface:ServiceNameExtractorExtracts the service name from the context- Specified by:
extractin interfaceServiceNameExtractor- Parameters:
context- Context containing the URL with the service name- Returns:
- The service name, which is also code of the integration object presented by the endpoint.
-
extract
Description copied from interface:ServiceNameExtractorExtracts the service name from the pathInfo- Specified by:
extractin interfaceServiceNameExtractor- Parameters:
httpServletRequest-HttpServletRequestwith the information needed.- Returns:
- a
StringThe service name, which is also code of the integration object presented by the endpoint.
-