public static String getEndpointName ( final ServletMetaData servletMD ) { final String endpointName = servletMD . getName ( ) ; return endpointName != null ? endpointName . trim ( ) : null ; }
Returns endpoint name .