String function ( Result arg0 ) { String loc0 = header ( CONTENT_TYPE , arg0 ) ; if ( loc0 == null ) return null ; if ( loc0 . contains ( "srini_string" ) ) { return loc0 . substring ( 0 , loc0 . indexOf ( "srini_string" ) ) . trim ( ) ; } else { return loc0 . trim ( ) ; } }
extracts the content-type of this result value . concode_field_sep Class<? extends WebDriver> FIREFOX concode_elem_sep String GET concode_elem_sep String HEAD concode_elem_sep String PUT concode_elem_sep String POST concode_elem_sep String DELETE concode_elem_sep Class<? extends WebDriver> HTMLUNIT concode_field_sep Map<String,String> inMemoryDatabase concode_elem_sep Map<String,String> inMemoryDatabase concode_elem_sep Map<String,String> headers concode_elem_sep String charset concode_elem_sep byte[] contentAsBytes concode_elem_sep byte[] contentAsBytes concode_elem_sep FakeApplication fakeApplication concode_elem_sep FakeApplication fakeApplication concode_elem_sep void start concode_elem_sep void start concode_elem_sep TestBrowser testBrowser concode_elem_sep TestBrowser testBrowser concode_elem_sep TestBrowser testBrowser concode_elem_sep void running concode_elem_sep void running concode_elem_sep void running concode_elem_sep FakeRequest fakeRequest concode_elem_sep FakeRequest fakeRequest concode_elem_sep String contentAsString concode_elem_sep String contentAsString concode_elem_sep void stop concode_elem_sep void stop concode_elem_sep Result routeAndCall concode_elem_sep Result routeAndCall concode_elem_sep Result invokeHandler concode_elem_sep String header concode_elem_sep Result callAction concode_elem_sep Result callAction concode_elem_sep TestServer testServer concode_elem_sep TestServer testServer concode_elem_sep String redirectLocation concode_elem_sep int status concode_elem_sep play.mvc.Http.Flash flash