Package com.totvs.tjf.test.support.util
Interface MvcResultUtil
public interface MvcResultUtil
Utility class for extracting values from
MvcResult.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic StringextractIdFromLocation(org.springframework.test.web.servlet.MvcResult result) Extract theidfrom theHttpHeaders.LOCATION.
-
Method Details
-
extractIdFromLocation
Extract theidfrom theHttpHeaders.LOCATION.
Note: Theidis supposed to be in the last path of the locationidaccording to the TOTVS API Guideline.- Parameters:
result- from the request.- Returns:
- the value
idin theHttpHeaders.LOCATION. - See Also:
-