protected void checkContextURL ( ODataRequestContext requestContext , Option < String > contextURL ) throws ODataRenderException { if ( ! contextURL . isDefined ( ) ) { throw new ODataRenderException ( String . format ( "Not possible to create context URL for request %s" , requestContext ) ) ; } }
Check whether the given Context URL is defined .