public String cookiePath ( String expectedCookieName ) { Cookie cookie = cookie ( expectedCookieName ) ; if ( cookie != null ) { return cookie . getPath ( ) ; } return null ; }
Retrieves the cookie path in the application with the provided cookieName . If the cookie doesn t exist a null value will be returned .