create a new servlet context within the server . this method should be invoked before the server is started , once for each context the caller wants to register . concode_field_sep String realm concode_elem_sep String username concode_elem_sep Server server concode_elem_sep String password concode_elem_sep ServerConnector connector concode_elem_sep TestRequestLog log concode_elem_sep ContextHandlerCollection contexts concode_field_sep int getPort concode_elem_sep List<AccessEvent> getRequests concode_elem_sep List<AccessEvent> getRequests concode_elem_sep List<AccessEvent> getRequests concode_elem_sep ServletContextHandler authBasic concode_elem_sep void auth concode_elem_sep void assertNotYetSetUp concode_elem_sep void setUp concode_elem_sep void assertAlreadySetUp concode_elem_sep void tearDown concode_elem_sep URI getURI
ServletContextHandler function ( String arg0 ) { assertNotYetSetUp ( ) ; if ( "srini_string" . equals ( arg0 ) ) arg0 = "srini_string" ; ServletContextHandler loc0 = new ServletContextHandler ( ) ; loc0 . setContextPath ( arg0 ) ; contexts . addHandler ( loc0 ) ; return loc0 ; }