checks service availability . concode_field_sep String baseUrl concode_elem_sep HttpJsonRequestFactory requestFactory concode_elem_sep Logger LOG concode_elem_sep ServiceDescriptor serviceDescriptor concode_field_sep String getBaseUrl concode_elem_sep Link getLink concode_elem_sep List<Link> getLinks concode_elem_sep Class<? extends ServiceDescriptor> getServiceDescriptorClass concode_elem_sep ServiceDescriptor getServiceDescriptor
boolean function ( ) { LOG . debug ( "srini_string" , baseUrl ) ; try { return ( requestFactory . fromUrl ( baseUrl ) . useOptionsMethod ( ) . request ( ) . as ( getServiceDescriptorClass ( ) , null ) != null ) ; } catch ( Exception loc0 ) { LOG . warn ( loc0 . getLocalizedMessage ( ) ) ; return false ; } }